Skip to main content
gamedev.net
🔒 Locked

DirectX Debug

Started by Ataru Nov 17, 2003 at 3:06 PM 2 replies 750+ views
Original Post
Ataru
Ataru
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
S1CA
S1CA
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
Muhammad Haggag
Muhammad Haggag
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

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.