How to debug with Visual C++ 6 on Windows 7 x64?

16,405

Solution 1

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.

Solution 2

Comment reposted:

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

Solution 3

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

Solution 4

Another option would be to install daffodil. This is an open source project to compile all versions of visual studio in VS2010. Once this is configured you can use visual studio 2010 debugger to debug VC6 projects.

Share:
16,405
Ignacio
Author by

Ignacio

I am a Software Engineer with more than 15 years of experience. I currently work on the social gaming industry, providing social features to games played by millions of people every day. Previously, I had worked in the contact center industry, where I helped building a software solution successfully used in 26 countries by more than 190 clients. I have experience in desktop and web application development, in addition to development and monitoring of cloud platforms, telephony solutions, infrastructure services and automation of build, test and deployment environments. I have experience with relational and NOSQL databases, like Redis and Apache Cassandra. Full-text search engines such as Elasticsearch. Many web servers (IIS, Nginx) and provisioning and CI tools (Chef, Jenkins, Travis, AppVeyor). I have authored many open source projects, mostly written in Lua, besides collaborating in many others like LuaRocks, the Lua package manager. There is a detailed list on my GitHub profile: https://github.com/ignacio My programming language skills include C/C++, Lua, JavaScript, SQL, bash, x86 assembly. But I'm interested in many others, too. Erlang, Clojure, Go, Scala, Python, D, OCaml are in the reading list. I'm used to wear many hats, picking up new skills as needed. I take pride in delivering well written and efficient code, on time. I've also gave some talks over the years, mostly about Lua related matters.

Updated on June 04, 2022

Comments

  • Ignacio
    Ignacio almost 2 years

    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.