debugger keeps crashing

Jun 3, 2008
127
3
Temecula, CA
I'm trying to use the debugger from the TCC window. The debug window will be created, but quite frequently (but not always), as soon as I hit the start button, I get a window that says, "Take Command IDE/Debugger has stopped working," and when I click the close button, the debugger window closes and I'm back to the command prompt in my original TCC window. What's going on? Why can't I debug my batch files? I never had this problem when I was using the (ancient, but rock-solid) 4nt6.

Environment: TCC 15.01.52 on Windows 7 SP1 64-bit (6.1.7601)

Note: I tried this in a TC window, and it worked fine, although I only tried it twice.

Note 2: Why is it that the command window - either the complete TCC window or the tab from which I executed the command in the TC window) always get cleared when the debugger IDE window gets created? Just curious.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Note 2: Why is it that the command window - either the complete TCC window or the tab from which I executed the command in the TC window) always get cleared when the debugger IDE window gets created? Just curious.

Here, Win7/32, the screen is cleared (actually scrolled until it's empty) when I start debugging, not when the IDE window is created. That seems reasonable to that output from a debug session will appear in a fresh screen.
 
Jun 3, 2008
127
3
Temecula, CA
Here, Win7/32, the screen is cleared (actually scrolled until it's empty) when I start debugging, not when the IDE window is created. That seems reasonable to that output from a debug session will appear in a fresh screen.

It's not a big deal, and not the main point of my original post, but that seemed strange to me. If I wanted it to clear the screen, I would have put that in the script. Maybe there is something in the window that I wanted to see while running my batch file.

OK, skip that... Any ideas about the debugger (or IDE) crashes?
 
May 20, 2008
11,400
99
Syracuse, NY, USA
It's not a big deal, and not the main point of my original post, but that seemed strange to me. If I wanted it to clear the screen, I would have put that in the script. Maybe there is something in the window that I wanted to see while running my batch file.

OK, skip that... Any ideas about the debugger (or IDE) crashes?
Does the crash dialog give the opportunity to see more information? Often it offers to send a report to Microsoft and lets you view the contents. That information, if available, could be helpful to Rex in pinning down the fault.
 
Jun 3, 2008
127
3
Temecula, CA
Does the crash dialog give the opportunity to see more information? Often it offers to send a report to Microsoft and lets you view the contents. That information, if available, could be helpful to Rex in pinning down the fault.

Nope, nothing. After I click the Close Window button, it's gone and I'm back to my TCC window prompt.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
I cannot reproduce that here.

The IDE uses the Windows Error Reporting module to create the error reports. If you're not seeing that window (from your description, it sounds like you are not) then it's probably being generated by the Windows loader (which is happening before any of the debugger code starts running). Can you post a screenshot of the popup you are seeing?

This is most likely a problem with an injected third-party dll -- if you're running anything like that (screen managers, antivirus, etc.) you might try disabling them temporarily and see if the debugger works.
 
Jun 3, 2008
127
3
Temecula, CA
Back again... I hadn't needed to debug any batch files for a while, so I wasn't reproducing it. Here is a screen shot of what I see.
 

Attachments

  • debugger stopped working.png
    debugger stopped working.png
    532.5 KB · Views: 84
Similar threads
Thread starter Title Forum Replies Date
S Debugger keeps breaking with no break point set. Support 1
D Layout debugger windows Support 2
R Batch Debugger Command Expansion Window Support 3
S Debugger menu absent Support 10
MikeBaas Using the debugger Support 2
R Take Command Debugger v22 ENDCOMMENT not bolded Support 6
K Batch debugger not stepping correctly Support 4
S Output from debugger Support 4
Joe Caverly Works in debugger, not from cmd line Support 1
S Problems with dir command in the debugger Support 5
S Debugger Bat file call history Support 9
T WAD Strange Unexpected "features" in the Debugger Support 2
BeechComer Debugger: how to set %1 variable? Support 3
D Chaining crashes the debugger Support 13
T Fixed V18 debugger crashed on save button Support 1
T Fixed V18 debugger crashed on stop button Support 2
Exolon V17 beta, debugger: STRG-S is inserting character instead of saving Support 12
epement differences in IDE/debugger between v12 and v14 Support 1
Alan Strader Take Command IDE/Debugger has stopped working Support 5
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
vefatica Debugger: popup _VARIABLE values Support 1
vefatica Another debugger observation Support 12
P Is there a way to examine arrays in the batch debugger? Support 1
vefatica Debugger now Unicode? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
J command line cursor keeps reverting to overstrike Support 6
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
P Take Command 25.00.17 crashing Support 8
C BDEBUGGER/IDE crashing Support 1
fromano Fixed COPY ... TO ... crashing Support 3
jadaml TCC crashing on Windows 10 final release(?) Support 12
fromano Fixed TCC crashing inside TCMD 17.0.35 after doing a copy Support 11
vefatica IDE crashing Support 11
vefatica Repeated crashing! Support 14
G TCMD x64 Build 28 Crashing Support 5
grkuntzmd TCMD 9.02 crashing on Vista Support 4

Similar threads