PROBLEM: debugger not stepping into a virtual method of unmanaged C++ class

  • Thread starter Thread starter | ov
  • Start date Start date
O

| ov

Hi,
My application includes a class library which has both managed C++ and
unmanaged C++ code.
The unmanaged C++ code includes only one class with both virtual
methods and non-virtual methods.
When I use the debugger I am able to step into methods that are
non-virtual, however, when I try to step into methods which are
virtual I receive the following message: "There aren't source code
avalaible for the current location".
The unmanaged class does not inherite from any other class.
Does anyone familiar with this problem ?

Thanks,
 
| ov said:
Hi,
My application includes a class library which has both managed C++ and
unmanaged C++ code.
The unmanaged C++ code includes only one class with both virtual
methods and non-virtual methods.
When I use the debugger I am able to step into methods that are
non-virtual, however, when I try to step into methods which are
virtual I receive the following message: "There aren't source code
avalaible for the current location".
The unmanaged class does not inherite from any other class.
Does anyone familiar with this problem ?

Yes, and it's extremely frustrating. I think there are known problems in the
debugger with mixed C++, but if you find any way of improving things post it
up, I'd be grateful to ehar about it.

Steve
 
Back
Top