jonpb
2008-03-20 22:01:35 UTC
Hello,
I am trying to debug a C++ dll which is being called by a C# application
but none of my break points work because the symbols are not getting
loaded by the debugger.
1) Using VS 2008
2) Set C# app as debug command
3) linker output set to folder of C# app
4) /ZI compiler switch used
5) I tried deleting both the dll name pdb and vc90.pdb and recompiling
6) Output says that symbols are loaded for the C# app
7) I know that my newly compiled dll is linked by the C# app because a
new test messagebox is displayed.
Using process explorer I see that the dll is delay loaded by the C# app,
(i.e. it is only loaded after the first call to it). Is this a problem?
If so, how do I solve that problem?
What am I doing wrong?
Thanks,
John
I am trying to debug a C++ dll which is being called by a C# application
but none of my break points work because the symbols are not getting
loaded by the debugger.
1) Using VS 2008
2) Set C# app as debug command
3) linker output set to folder of C# app
4) /ZI compiler switch used
5) I tried deleting both the dll name pdb and vc90.pdb and recompiling
6) Output says that symbols are loaded for the C# app
7) I know that my newly compiled dll is linked by the C# app because a
new test messagebox is displayed.
Using process explorer I see that the dll is delay loaded by the C# app,
(i.e. it is only loaded after the first call to it). Is this a problem?
If so, how do I solve that problem?
What am I doing wrong?
Thanks,
John