Im trying to use NProf to profile my multithreaded engine, but it just gives a "YourProgram.exe has stopped working error" and NProf displays no results. Asking this here, as I suspect the failure is specific to my XNA engine.
I attached a VS debugger to it, and received the follwoing jsut before it crashed:
The thread 0xfa4 has exited with code 0 (0x0).
The program '[6128] YourProgram.exe: Managed' has exited with code -2146233506 (0x8013135e).
Can anyone shed some light on what this means?
Im wondering if profiling multiple threads is a bad idea. Is it possible to attach NProf to one thread?
Thanks, Venatu