• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 33. DEBUGGING > DID YOU KNOW?

DID YOU KNOW?

  • Try using the Lingo command nothing as a place to put breakpoints. nothing does just that. You can place nothing inside a conditional statement and set a breakpoint on it to have the Debugger start at only a particular time. For instance:

    if i = 8 then
      nothing
    end if
    
  • You can use the Lingo system property the traceLogFile to set a filename that will be used to write the contents of the Message window to the hard drive. This is useful for viewing Message window statements while playing back in a projector.

  • You can also place nothing inside a conditional statement that looks for a keyboard function, such as the shiftDown. This way you can have the Debugger start when the code is at a certain spot, but only when you want it.

    if the shiftDown then
      nothing
    end if
    
  • You can click in the handler history pane of the Debugger window to see the previous handlers and the point to which the program will return as soon as the more recent handler is done. This also changes the variables in the second pane to reflect the state of the handler selected.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint