![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Universe has a debugger command that will allow you to skip through a subroutine when doing single-step debugging (hazy memory recalls this being an "S"). No reference to similar functionality is in the D3 online docs. Are any of you aware of an equivilant undocumented feature that would do what I want? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Universe has a debugger command that will allow you to skip through a subroutine when doing single-step debugging (hazy memory recalls this being an "S"). No reference to similar functionality is in the D3 online docs. Are any of you aware of an equivilant undocumented feature that would do what I want? thanks |
#5
| |||
| |||
|
|
From the D3 Reference manual: n Similar to the FlashBASIC debugger "g" command except that if single-stepping is active, the <ctrl>+n command will step "over" any subroutine calls. Syntax: <ctrl>+n Ed |
#6
| |||
| |||
|
|
Ed Sheehan wrote: From the D3 Reference manual: n Similar to the FlashBASIC debugger "g" command except that if single-stepping is active, the <ctrl>+n command will step "over" any subroutine calls. Syntax: <ctrl>+n Ed The only problem is that the D3 debugger shows the line you have *just* executed, and by that time, you are already into the subroutine. It would be more useful if the D3 debugger (which I hate) would show you the line you were *about* to execute. -- Bob Little Graphik Dimensions, Ltd. High Point, NC |
#7
| |||
| |||
|
|
Ed Sheehan wrote: From the D3 Reference manual: n Similar to the FlashBASIC debugger "g" command except that if single-stepping is active, the <ctrl>+n command will step "over" any subroutine calls. Syntax: <ctrl>+n Ed The only problem is that the D3 debugger shows the line you have *just* executed, and by that time, you are already into the subroutine. It would be more useful if the D3 debugger (which I hate) would show you the line you were *about* to execute. -- Bob Little Graphik Dimensions, Ltd. High Point, NC |
#8
| |||
| |||
|
|
Try using G<Enter> instead of <Ctrl>J. This might show the "before" state. I don't have a D3 system just now to test this, so My Memory May Vary. The manual does say that if you use C! it switches to "after." Not much use to omit that if you want to see stuff though. Ed "Bob Little" <rlittle (AT) graphikdimensions (DOT) com> wrote in message news:CcCdnb3AdL0o1cjenZ2dnUVZ_sudnZ2d (AT) northstate (DOT) net... Ed Sheehan wrote: From the D3 Reference manual: n Similar to the FlashBASIC debugger "g" command except that if single-stepping is active, the <ctrl>+n command will step "over" any subroutine calls. Syntax: <ctrl>+n Ed The only problem is that the D3 debugger shows the line you have *just* executed, and by that time, you are already into the subroutine. It would be more useful if the D3 debugger (which I hate) would show you the line you were *about* to execute. -- Bob Little Graphik Dimensions, Ltd. High Point, NC |
#9
| |||
| |||
|
|
I wrote the C and CTL+J portions of the debugger in 1980. I got tired of having to type L+return G+return to watch my programs run. In hind sight, it probably would have been better to combine the G + L commands instead of the L + G, but it also would have been ton's harder. The reason you can't single step OVER a subroutine in D3 is because part of the subroutine calling interface is to setup a new debugger control block for that second level program. That dbcb has its own set of controls blah blah and it doesn't inherit them because they might not match and when it returns it doesn't pop the old dbcb off a stack as would make sense, but rebuilds it like it had never been there. All gut-level stuff that hasn't changed in 20 years for only one reason: no one's around anymore who understands it. Mark Brown |
#10
| |||
| |||
|
|
The <ctrl>+n doesn't seem to do much of anything. Not that there's a chance it will ever happen, but just for fun, what would improvements you like to see in a new version of the debugger? I'll start with #1: 1 - Functionality to actually debug programs. |
![]() |
| Thread Tools | |
| Display Modes | |
| |