Shawn Hargreaves Blog
XNA Game Studio 4.0 and PIX for Windows have an unfortunate incompatibility. If you take a PIX capture of a GS4 app using default PIX settings, you will get this error:
Target Program Unexpected Exit The program 'foo.exe' exited unexpectedly while PIX was analyzing it.
Target Program Unexpected Exit
The program 'foo.exe' exited unexpectedly while PIX was analyzing it.
To work around this,you must disable D3DX analysis in PIX:
The problem occurs because PIX does not support some crazy tricks that GS4 uses to optimize state management. We hope to get this fixed in a future version of PIX, but don't yet know for sure if/when that will happen, so for now you will have to make do with the above workaround.
My apologies for the inconvenience!
Thanks Shawn, this a useful workaround
So how does this limit the debuggin experience in PIX?
So far I can debug vertex shader in pix, however whenever I try and debug a pixel shader it crashes.
Sorry about the 2 posts haha this makes a 3rd yeah!
for some reason I corrected my spelling and my browser posted twice
Also, turns out I am able to debug pixel shaders now dont know what I was doing in the past.
The question still stands: So how does this limit the debuggin experiencnensnenen hahha
Hmm... Only recently tried to use PIX. It "unexpectedly quits" whenever I try to run a program. I tried the work-around but I still get the same error. I really don't get this PIX thing.