Is there a way to run a debugger on SmartDevice C++ DLL when it runs inside SmartDevice C# application?
I am using SmartDevice C++ DLL for my SmartDevice C# app开发者_StackOverflowlication as follows:
using System.Runtime.InteropServices;
[DllImport("myCppDll.dll")]
private static extern bool Foo();
But it seems that there are a lot of bugs inside the DLL.
Strange thing is that when I test the DLL on Visual C++ project, every method inside the DLL works fine.
It seems that I get problems when I import the DLL into SmartDevice C# application.
I really want to run a debugger on the DLL not the C# application.
But Visual Studio 2008 does not support the option. (I think. I maybe wrong.)
Please someone tell me that I am wrong and I can run a debugger on the DLL in this situation.
精彩评论