views:

1209

answers:

3

Surely the answer will be "you can't" or "use XP mode", but I'd like to know if it it possible.

The issue I have is that whenever I debug some application and hit a breakpoint, when I stop the debugger the debuggee remains stuck. It can't be killed, I can't attach another debugger (it says it is already being debugged). It won't go away until I close Visual C++.

This is hapenning on a Windows 7 64 bits install. VC has SP 6 installed.

+2  A: 

Comment reposted:

You can try using Visual Studio 2008 with VC6 compiler. I recently blogged about this.

Bojan Resnik
A: 

I developped a little fix for that. You just have to copy the file "ShiftF5Fix.dll" into "Common/MSDev98/AddIns/" et load it from Visual.

It's an hugly fix. If you modify your source file during debugging you have you answer "NO" to the poup displayed after you press "SHIFT+F5" to stop the process.

link : http://www.dr-hoiby.com/ShiftF5Fix.dll

Best regards

Dr Hoiby
Could you elaborate a bit on how you solved the issue, or maybe make the source code available? Anyway, I've tested your add-in and it works great! Thank you very much.
Ignacio
+1  A: 

My previous fix was horrible.

Finally, I developped a new fix, working perfectly with the english version of Visual Studio 6. (SP6 I think)

You need to check the version of the file DM.dll located into "Common/MSDev98/Bin"

The correct version is 6.0.9782.0.

link: http://www.dr-hoiby.com/TLLOC.dll (28KB)

how to install: replace "Common/MSDev98/Bin/TLLOC.dll" by the version downloaded.

Best regards.

Dr.Hoiby
So, I have to remove your previous Add-In and install this, right? That is what I did and at least it solves the "modify the source while debugging" bug. What else that this fix?
Ignacio