Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ataru

DirectX Debug

This topic is 5385 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!