BDEBUGGER observations

Jul 1, 2008
81
0
74
Montreal
WinXP SP3, v12.0.23

- On both PCs where I installed v12.0.23, the debugger failed to display its window the first time I launched it. It has worked fine ever since.

- Breakpoints below a START command are lost after the START command is done. A "run to breakpoint" request will not respond to a breakpoint on the ECHO line below it
Code:
START /w /pgm "C:\foo\bar.exe" arguments
ECHO The debugger should stop here
--
Peter
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
> - On both PCs where I installed v12.0.23, the debugger failed to
> display its window the first time I launched it. It has worked fine
> ever since.

Not reproducible here. How are you starting the debugger? (There are
several possible ways.)


> - Breakpoints below a START command are lost after the START command is
> done. A "run to breakpoint" request will not respond to a breakpoint
> on the ECHO line below it
>
> Code:
> ---------
> START /w /pgm "C:\foo\bar.exe" arguments
> ECHO The debugger should stop here
> ---------

Fixed in build 25. (It didn't have anything to do with START; the "run to
breakpoint" was just stopping one line too soon.)

Rex Conn
JP Software
 
Jul 1, 2008
81
0
74
Montreal
> Code:
> ---------
> START /w /pgm "C:\foo\bar.exe" arguments
> ECHO The debugger should stop here
> ---------
(It didn't have anything to do with START; the "run to
breakpoint" was just stopping one line too soon.)

I'm now on build 24. I changed the test batch to
-----
START /w /pgm "C:\foo\bar.exe" arguments
ECHO 1
ECHO 2
ECHO 3
ECHO 4
ECHO 5
QUIT
-----
With a single breakpoint on the "ECHO 1" line above, a "run to breakpoint" request will execute all 5 ECHO commands without stopping. The highlighted line will be over the QUIT command.

As for the window not appearing, It recurred just now. I started typing "tasklist /l" in a new TCC console window, the "t" stayed on the command line, but the "a" disappeared, and the "s" indented the first line of the batch file in the now-opened debugger window. Could the "a" have been an admissible response to a hidden query window? "a" for "all" or "a" for "abort"? I invoked the debugger again, voilà the window appeared immediately.

Something is fishy here, I think I should reinstall.
--
Peter
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
> ---End Quote---
> I'm now on build 24. I changed the test batch to
> -----
> START /w /pgm "C:\foo\bar.exe" arguments
> ECHO 1
> ECHO 2
> ECHO 3
> ECHO 4
> ECHO 5
> QUIT
> -----
> With a single breakpoint on the "ECHO 1" line above, a "run to
> breakpoint" request will execute all 5 ECHO commands without stopping.
> The highlighted line will be over the QUIT command.

Same issue as before; the breakpoint is being reported on the wrong line
(the "start" line, which is also the current line), so it will not stop.

As I said, it's fixed in build 25. (Which should be uploaded in another day
or two.)


> As for the window not appearing, It recurred just now. I started
> typing "tasklist /l" in a new TCC console window, the "t" stayed on the
> command line, but the "a" disappeared, and the "s" indented the first
> line of the batch file in the now-opened debugger window. Could the
> "a" have been an admissible response to a hidden query window? "a" for
> "all" or "a" for "abort"? I invoked the debugger again, voilà the
> window appeared immediately.

You didn't respond to my previous query -- *how* are you invoking the
debugger?

Rex Conn
JP Software
 
Jul 1, 2008
81
0
74
Montreal
Same issue as before; the breakpoint is being reported on the wrong line
(the "start" line, which is also the current line), so it will not stop.

As I said, it's fixed in build 25. (Which should be uploaded in another day
or two.)
You didn't respond to my previous query -- *how* are you invoking the
debugger?

Apologies, I got sidetracked replying and didn't finish what I started. I always call it from a TCC command line, like BDEBUGGER {file name}. Usually the target btm file is in the current directory, now and again the argument has to be a compete path. I don't use TCMD very much.

I installed v12.0.24 for the first time on 2 other PCs. With TCC being the only running application, I typed "BDEBUGGER test" and waited. It took almost exactly 30 seconds after hitting OK on the registration window for the IDE window to display. In 3 or 4 subsequent invocations the window popped up immediately. It behaved the same way on both PCs. This should help, I found a GPF file in the TCC directory on both PCs.
PC # 1:
TCC 12,00,24
Module=C:\4nt\IDE.EXE
Address=00409656
Exception=C0000005
EAX=0112E83C EBX=00409630 ECX=00000001 EDX=00734AF8
ESI=03DF0878 EDI=03DF0878 EBP=0112E794 ESP=0112E780
CS=0000001B DS=00000023 ES=00000023 SS=00000023
Flags=00010202

Stack:
1 : IDE.EXE 0001:00008656
2 : IDE.EXE 0001:001324db
3 : IDE.EXE 0001:0012da0c
4 : IDE.EXE 0001:00130952
5 : IDE.EXE 0001:001309e1
6 : USER32.dll 0001:00007734
7 : USER32.dll 0001:00007816
8 : USER32.dll 0001:00017ea0

The GPF file from PC # 2 differs only on these 2 lines:
EAX=0112ECEC EBX=00409630 ECX=00000001 EDX=00734AF8
ESI=03DC6BF0 EDI=03DC6BF0 EBP=0112EC44 ESP=0112EC30
--
Peter
 
Similar threads
Thread starter Title Forum Replies Date
R bug _ypixels in BDEBUGGER Support 6
T Thanks for the assistance with IDE vs Bdebugger Support 3
cgunhouse SETLOCAL not working in BDEBUGGER Support 9
Peter Murschall V26-Issues in the BDEBUGGER ! Support 11
R Documentation Help Nit > bdebugger View Menu Support 0
Peter Murschall BDEBUGGER "Run to Cursor" - where is it ? Support 1
R Changes to BDEBUGGER menu item keyboard shortcuts in v25 Support 2
Kachupp ide/bdebugger Support 17
rps IDE/BDEBUGGER ? Support 1
Kachupp bdebugger Support 5
Kachupp bdebugger Support 17
Peter Murschall v24 IDE/BDEBUGGER won't start Support 9
Joe Caverly BDEBUGGER and CMDebug Support 2
Joe Caverly Modified Variables in CMDebug/BDebugger Support 1
C BDEBUGGER/IDE crashing Support 1
C BDEBUGGER queryies Support 5
A bdebugger: why it doesnt go inside the "if" statement ? Support 3
MickeyF BDebugger crashes Support 2
jbanaszczyk Bdebugger and breakpoint Support 5
jbanaszczyk bdebugger issues Support 4
cgunhouse Fixed bdebugger with not exist batch file causes a crash Support 2
S BDEBUGGER issue Support 9
samintz Hotkeys for copy/paste do not work in BDEBUGGER Support 4
thedave BDEBUGGER vs not inconsistency Support 15
T bdebugger / ide usage confusion Support 14
S WAD BDEBUGGER command changes window title to "TCC Prompt" Support 4
Frank How to? bdebugger / breakpoints Support 4
Frank watch an array variable in ide/bdebugger Support 2
S WAD Invoking BDEBUGGER changes window title to "TCC Prompt" Support 7
E Ctrl-V does not always work in BDEBUGGER Support 4
S Fixed BDEBUGGER died on invalid watch request Support 4
B Bdebugger doesn't recognize breakpoint after batch file returns Support 2
JohnQSmith IDE / BDEBUGGER Crash Support 0
JohnQSmith IDE / BDEBUGGER Font Support 4
B Bdebugger / IDE editor doesn't display called batch file Support 1
samintz bdebugger issues Support 55
S BDEBUGGER - minor issue Support 2
O Is the bdebugger supposed to debug? Support 1
vefatica BDEBUGGER and Spy++ Support 2
mikea Using BDEBUGGER (and BREAKPOINT) Support 1
mikea BDEBUGGER/IDE questions Support 16
Y BDEBUGGER does not launch Support 8
P BDEBUGGER/IDE does not honour VariableExclude Support 2
P bdebugger / ide issues Support 1
Peter Bratton v10 IDE / bdebugger Support 10
B Keys in debug menu not working in bdebugger Support 1
B bdebugger doesn't load btm-file in window Support 1
B Bdebugger displays an error when typing right square bracket Support 2
S BDEBUGGER problem Support 0
A TCC /S switch observations Support 2

Similar threads