|
-
February 6th, 2006, 03:45 PM
#1
What can be wrong that makes me unable to debug native C++ code?
Hi. I have a mixed project (C++ Managed library) that uses managed and unmanaged code. I am having problems in debugging native (unmanaged) code. The breakpoints don’t work (when I put one in the native code, appears a “?” ) and I can not give a “step into” for native codes. It is intriguing that some native codes debug works well, but for most of it, it doesn’t.
This C++ library do not use others libraries, just native codes. It is used for a C# .Net application.
I have changed the "debuger type" option from Mixed to Native Only, but this did not help. I have checked the Assembly files path already.
What can be wrong that makes me unable to debug native C++ code?
For Example:
Code:
void PDAManager::DefinirAltitudeParaPosicaoGeografica( SPosicaoGeografica __gc& p_posicaoGeografica ){
p_posicaoGeografica.Altitude = _PrjDG->pMne->ObterAltitude( p_posicaoGeografica.Latitude, p_posicaoGeografica.Longitude );
}
I can not go into "_PrjDG->pMne->ObterAltitude" even though this code is part of my project.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|