How to debug without Visual Studio?

Python -> C ++ dll -> C # dll

I have a com interop C # dll that loads into a C ++ dll shell via a .tlb file generated in C # that will be used in a python project. When I start on my computer, it works fine, but when I start the computer that just formed, it gives:

WindowsError: exception code 0xe0434f4d

I have a C ++ distribution and .NET Framework 3.5 on a formatted computer.

How can I find out what is the correct exception on a computer that does not have a visual studio installed? How can I debug all this? I can not debug the dll myself, can I?

Note: everything works fine on my computer, so maybe there is some dll or file. I already used Dependency Walker to see if there is any dll, and nop!

+3
source share
2 answers

Download Microsoft Debugging Tools for Windows. It contains the WinDbg debugger, which can also be used for debugging.

WinDbg's advantage over Visual Studio is that you have much lower-level commands for finding problems.

The disadvantage of WinDbg is that it is not user friendly (compared to Visual Studio).

+7
source

You can use WinDbg or other useful applications to join the process, or even run the application in a debugger application.

Another really good software is OllyDbg .

.

+6

Source: https://habr.com/ru/post/1747010/


All Articles