General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Debugging Virtual Functions in Managed C++ App
"There is no source code available for the current location." I can step into the assembly language of the called virtual function but not the C++ source code.
I also tried this with a very small test program consisting only of main(), one base class and one derived class containing a virtual function. The whole program was in a single module. I encountered the same debugger problem. The debugger couldn't even locate the called source code even though it's in the same module as the calling function. The code works and the debugger returns properly from the called function, but it just won't show the source.
I rebuilt everything in unmanaged C++ and the debugger works fine. Very annoying not being able to debug virtual functions.
Anyone have a clue what's going on? Thanks.