SlimDX: Cannot see Direct3D debug output in Visual Studio 2010

  • I installed the SDK in June 2010
  • Debug runtime enabled in DirectX control panel
    • set the debug output level to maximum (more)
  • Unmanaged code debugging is enabled.

Result: no debug output from Direct3D

However, if I run the application from the outside and use dbgview.exe, the output is displayed there.

What could be the reason?

+2
c # directx direct3d slimdx
source share
2 answers

After hours of trial and error, I found a solution to my problem.

Export your settings and check the value of the following setting:

<PropertyValue name="OutputOnOutputDebugString">1</PropertyValue> 

I had 0. There, the most likely reason for this is because I use the default CSharp settings. When using the default settings for the C ++ environment, this value is most likely already set.

+2
source share

You can also go to the project properties of the managed executable file on the Debug tab and enable debugging of your own code, which allows you to send messages.

+1
source share

All Articles