DirectX Debug

Started by
2 comments, last by Ataru 20 years, 5 months ago
My DX engine is compiled as a DLL and can only be executed through Java. (Don''t ask.) Is there still any way for me to get any DirectX debug information? Right now, I don''t get any gain from running the deubg or retail .lib''s but I''m no expert in deubbing DirectX applications. Is there a way to get a log of errors somewhere? Currently all I can do is output the HRESULT returns to my own log file. Thanks
Advertisement
1. Make sure you''ve got the debug runtimes installed and selected in the control panel and the output level sliders are set nice and high.

2. Run DBMON.EXE in the Utilities folder of the SDK or download and run the more fully featured DebugView for free from http://www.sysinternals.com

3. Run your program. Either of the above utilities will capture all DirectX errors and warnings in the same way the MSVC debugger would.


[As it happens I''ve just started writing a tutorial on effective use of the debug DirectX runtimes (I''ve grown tired of reminding people its there - so I''ll do it once properly then point any further ones to the URL ) - alternative debug output viewers is one of the topics]

--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Wow, so at last you''re writing a tutorial S1CA? (I know you wrote a column back at creative-asylum, it''s just that it was too short - though useful - for me )
Hopefully it''ll be out soon, and will be a little longer, eh?

Muhammad Haggag

That''s really great. Thanks. This will help a bunch.

This topic is closed to new replies.

Advertisement