Hi, when I am trying to debug, now and then Visual Studio opens a Assembler file to debug, I don't want that, eaven when it is my own code it opens a dissambly file.
What is wrong
thanks in advance, Patrik
Hi, when I am trying to debug, now and then Visual Studio opens a Assembler file to debug, I don't want that, eaven when it is my own code it opens a dissambly file.
What is wrong
thanks in advance, Patrik
Hi,
I am running in debug mode. I don't found any .pcb files.
I start my application in Managed code, and makes a call into my unmanaged code where I have placed a breakpoint, but It doesn't break, and if I try to use step into from my managed code into my native code I only see a Dissasembly file.
What should I change Project properties
I am using Visual Studio 2005.
thanks, Patrik
Sorry I meant pdb files, however in project properties under Debugging set the Debugger Type to Mixed. See if that helps.
Cheers,
Iain
Yup thats right, you must make sure that you create the PCB files when you compile. It is also a good idea to make sure that the optimisations are switched off too.
There are two you should make sure is switched on.
Project->Properties->Configuration Properties->C++->General and make sure that Debug Information Format is set to Program Database. Edit and continue doesn't work in mixed mode.
Along with this you should make sure that it also has a name for the output file.
Project->Properties->Configuration Properties->C++->Output Files and make sure that Program Database File Name is set.
The second option to make sure you have switched on is the one in the linker.
Project->Properties->Configuration Properties->Linker->Debugging and make sure that the Generate Debug Info is set to yes and Generate Program Database File has a file name.
Hi, I haven't yet get it to work...
Now I have encountered a new problem aswell. When I am stepping in my managed code, I get error from Visual Studio telling me "Visual Studio is buisy, waiting for an interrupt" and the debugger throws me into a disassembly file.
What is wrong
best regards, Patrik