Question about the debugger in Rev 4.0

Mark Wieder mwieder at ahsoftware.net
Wed Sep 8 17:14:59 EDT 2010


Bob, Jim, et al-

Breakpoints are stored by the engine as a line number offset into a
script. If you edit the script after setting a breakpoint, it's up to
the script editor to adjust the breakpoints to accomodate the lines
added or deleted. Sometimes it works, sometimes it doesn't. GLX2 has
two types of breakpoints, hard and soft. The soft breakpoints are
always adjusted correctly because they're under our control. The hard
breakpoints are under the control of the IDE. Using the IDE's script
editor you only get the hard breakpoints, and it's up to the script
editor to adjust them accordingly. Sometimes you'll find that
breakpoints are no longer where you think they should be.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list