Profiler Windows x32 problem
I run Windows XP SP3 on my virtual machine.
There I use开发者_运维知识库 Visual C++ Express a CLR profiler for .net 2.0 I run x86 profiler(choosing between x86 and x64), choose simple Visual C++ application which outputs 1000 times "Hello world" string.
What the profiler does is shows the message "Waiting for application to start command language runtime" and nothing more.
So, what's the problem?
A CLR profiler cannot profile native C++ code, only CLR (Common Language Runtime) the virtual box that runs .Net code.
Try downloading the free edition of AQTime at http://smartbear.com/products/free-tools/aqtime-standard/
That one should be able to profile your C++ code (if you follow some rules, you might need to have it in debug mode and generate a map file, it's been a while since I profiled native code).
精彩评论