Question

I am remotely debugging a dll (C++, unmanaged) for Microsoft FSX (I do not know whether this matters). The dll is compiled as "Multi-threaded-dll", since it does not work as "Multi-threaded-dll debug". My dll currently just contains a DllStart and DllStop function, this is standard in FSX.

I general debugging works (it stops at my breakpoints), but somehow the debugger also stops in places where I did not place a breakpoint. First the issue came up in the "NO Source available" flavor. After checking

  1. Suppress "No Source Available" pane in 2010 and
  2. No Source available

the only solution working for me was to install the mentioned extension. Now I do not get the "No source" tab anymore, but debugger still stops somewhere outside my code. I have cleaned all breakpoints as recommended in " Debugger stops when there is no breakpoint VS2010 ". Stopping in VS2010 bglmanx.dll is another dll, also started by FSX. I was thinking, OK, maybe there is some ambiguity about the symbols and have renamed my functions to DllStartFSXM and DllStopFSXM (and hence being unique). No improvement.

Any ideas, hints?

Was it helpful?

Solution

It could be caused by having __asm int 3 or a DebugBreak in the other code?

Perhaps there is some way of disabling these commands or reimplmenting the DebugBreak function?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top