step in debugger?
jerry at daniels-mara.com
Wed Oct 26 11:32:20 CDT 2005
In Constellation, when you click "step" and "step into" is not
checked, it should execute the current line and then, provided the
line executes, take you to the next line UNLESS you are already to
the end of the originating handler.
In past versions of Rev IDE, the "step over" would sometimes "step
out" of the handler entirely and act as if you had clicked "run."
This happened when stepping over a call to another handler and
sometimes when stepping over an IF statement.
In 2.61 Rev IDE it would appear that some of this is fixed. I can get
2.61 to step over calls to handlers at least some of the time, but I
just tested it and found it "stepped out" when I tried to step over
an IF statement.
I just tested Constellation on the same script with the same
breakpoints (Constellation uses the Rev breakpoints). Because
Constellation is paranoid, it puts "ghost breakpoints" that users
can't see after every point at which it fears Rev's debug engine will
try to "step out." It could be that Constellation needs to add a
ghost somewhere. I would like to find out where (under what
conditions) we need to add ghosts. It's nearly Halloween, after all.
SO...could you send me more info offline? Don't want to clog the list
with Constellation tech support.
On Oct 26, 2005, at 7:25 AM, Charles Hartman wrote:
> I've been bumbling numbly along with debugging -- and somehow it
> just occurred to me that something's wrong here:
> I put a breakpoint on a line in the middle of a script, run till I
> hit it, look at some variables, press Step . . . and the script
> runs, not stopping till complete/crash/next breakpoint.
> In any other debugging environment I've seen, that's not what
> "step" means. It means execute the currently-highlighted line and
> (This is using Constellation, but I assume it's behavior of the
> underlying debugging engine, not the UI.)
> Charles Hartman
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode