bdebugger issues

Jun 8, 2013
98
0
Warsaw, Poland
Dear sirs.

[TCC 17.00.70 x64 Windows 7 [Version 6.1.7601]]

Some issues with bdebugger:

1. Watches.
Please take actions:
bdebugger BatchFile.btm

Issue 1a: How to add not defined (yet) variable to watch list?

in "Watch List" press right mouse key - popup with existing variables appears.
Select any one.
Issue 1b: value of variable is not shown yet. It is updated after any action (start debugging, step).

2. Start/stop
Use the simplest.bat:
Code:
echo off
bdebugger simplest.bat
Press F5 - "Start debugging"
Press Shift-F5 ""Stop debugging" - everything ok
Perform the same from menu:
Menu :: Debug :: Start
Menu :: Debug :: Stop Debugging
Issue 2: debugger fails (exits with error)

3. Save *untitled batch
Start bdebugger without batch name.
Empty batch appears
Modify it. For example: simply press enter key
Start debugging
bdebugger proposes to save the file. Ok
It suggest name "*Untitled".
Issue 3a: can I suggest to remove star sign leading that name?

Issue 3b: can I suggest to add any extension (.bat or .btm)?

Issue 3c: can I suggest to add extensions in dialog box (save as file type)?


Best regards
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
]

Issue 1a: How to add not defined (yet) variable to watch list?

Double click in an empty "Name" column and enter the nonexistent variable name.

in "Watch List" press right mouse key - popup with existing variables appears.
Select any one.
Issue 1b: value of variable is not shown yet. It is updated after any action (start debugging, step).

WAD. The TCC instance isn't created until you start debugging, so the variable doesn't exist and there's nothing to show.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
3. Save *untitled batch
Start bdebugger without batch name.
Empty batch appears
Modify it. For example: simply press enter key
Start debugging
bdebugger proposes to save the file. Ok
It suggest name "*Untitled".
Issue 3a: can I suggest to remove star sign leading that name?


The * isn't in the name; it means that you have unsaved changes in the file.

What's happening here is that the document name is empty (not "Untitled"), so in the save as dialog Windows queries the title and uses that as a suggestion. None of that code is mine, so there's not much I can do about it. And since you wouldn't want to name anything "Untitled" anyway, and since the name is selected and will be replaced as soon as you type any character, I don't really see it as much of an issue.

Issue 3b: can I suggest to add any extension (.bat or .btm)?

I don't know what you're asking for.

Issue 3c: can I suggest to add extensions in dialog box (save as file type)?

File type isn't an extension, it's a file format. Since bat / btm / cmd files are all text format, there doesn't seem to be any reason to add them to the file type combo box.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
2. Start/stop
Perform the same from menu:
Menu :: Debug :: Start
Menu :: Debug :: Stop Debugging
Issue 2: debugger fails (exits with error)

There are three ways to start & stop debugging -- the keyboard shortcuts, the toolbar, and the Debug menu. The IDE calls the same routine for all of them, and the only one that fails is stopping debugging from the menu.

The code on our side hasn't changed since v16; however stopping the debugger via the Debug menu option now fails in v17 because the exception handlers have been mangled. This is an RTL bug (v17 uses a new RTL), and I've passed it on to Microsoft. Since it's unlikely I'll get a speedy fix, I'm trying to come up with a workaround that doesn't require rewriting the RTL.
 
Jun 8, 2013
98
0
Warsaw, Poland
The * isn't in the name; it means that you have unsaved changes in the file.

What's happening here is that the document name is empty (not "Untitled"), so in the save as dialog Windows queries the title and uses that as a suggestion. None of that code is mine, so there's not much I can do about it. And since you wouldn't want to name anything "Untitled" anyway, and since the name is selected and will be replaced as soon as you type any character, I don't really see it as much of an issue.
Issue 3b: can I suggest to add any extension (.bat or .btm)?
I don't know what you're asking for.

For sure it is very minor case :)
It is easy to guess where asterisk comes from.
My idea was: to get proposed file name for save as name ready to use - just click save and voila. Good for quick prototyping.
 
Similar threads
Thread starter Title Forum Replies Date
Peter Murschall V26-Issues in the BDEBUGGER ! Support 11
samintz bdebugger issues Support 55
P bdebugger / ide issues Support 1
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
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
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
Peter Bratton BDEBUGGER observations Support 4
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
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
S Issues with version v26.02.42 x64 Support 0

Similar threads