Reputation: 12546
I'm trying to get the graphics debugger working using the sample code from Lesson3.Cubes of the MS DirectX tutorial sample app but I can't get it to work.
I've tried just pressing ALT+F5 to get the diagnostics running but when I do I get exceptions thrown in the VSGraphicsHelper.dll and the app fails to run. It works properly under the normal debugger.
I've also tried switching the debugger settings from Native to GPU debugging and when I press ALT+F5 the application runs, but the debug HUD doesn't display and I get a message: "Unable to start the experiment session" if I try and capture a frame.
For reference, I'm running the Win8 CP natively using an Intel graphics card (the NVidia drivers are still buggy and they tend to crash and log me out).
I've also looked at the question on the requirements for the VS11 Graphics Debugger but it didn't help me.
I'm a bit of a newbie when it comes to C++/DX so don't assume I know the basics. Any tips, tutorials or walkthroughs, apart from the useless MSDN articles, on how to get this working would be really appreciated.
Upvotes: 1
Views: 4789
Reputation: 2188
This is a project configuration issue. To solve this issue, perform the following steps...
Go to DEBUG -> ProjectName Properties
Set 'Debugger Type' to 'Mixed (Managed and Native)' or to 'Native Only'. Now running the Diagnostics will work correctly as intended.
Upvotes: 2
Reputation: 46
Would love to help...
There was a bug in Beta relating to the (unrelated) "GPU" debugger setting. You should leave it set to Native. Another Beta bug to check for is whether you are running in a non-US locale. Can you turn on first-chance exceptions (Debug > Exceptions > Win32 Exceptions) and describe which exception is thrown?
Upvotes: 3