M
Max Christian
I'm writing a mixed-mode C++ DLL which is used by an old C++
application that I don't have the source code to. I'm amazed by the
ease of interoperability, but the one problem I'm having is debugging
the DLL, as the C++ app crashes if loaded into the debugger.
If I could just get the line number on which an exception occurred
that would be enough to fix most bugs. At the moment I use
exception.ToString() and get a stack trace but it's very hard to find
the bug in a large function without knowing which line.
Anyone have any tips, either on how to get the legacy app to run under
the debugger (so I can step through my DLL when called), or get the
line number an exception occurred on?
Many thanks indeed,
Max Christian
application that I don't have the source code to. I'm amazed by the
ease of interoperability, but the one problem I'm having is debugging
the DLL, as the C++ app crashes if loaded into the debugger.
If I could just get the line number on which an exception occurred
that would be enough to fix most bugs. At the moment I use
exception.ToString() and get a stack trace but it's very hard to find
the bug in a large function without knowing which line.
Anyone have any tips, either on how to get the legacy app to run under
the debugger (so I can step through my DLL when called), or get the
line number an exception occurred on?
Many thanks indeed,
Max Christian