🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Debugging DirectX with VC++.

Started by
3 comments, last by tifkagh 22 years, 7 months ago
I suppose I''m missing something obvious with this one: Is there any way to debug a game when DirectX is in charge of the whole screen. Also, can anyone out there give any hints on how to get round the fact that Windows always sends a WM_PAINT message which screws up VC++ debugging of all sorts?
Advertisement
I think the easiest way of doing this is just to set up directX to display windowed mode while debugging, then when your done debugging set it back to full screen. Also, if you have 2 computers and they are networked, you can do remote debugging in MSVC++.
Mulimonitor debugging if you''ve got two monitors and two video outputs
You can also log stuff to a file
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Or allocate your application a console and output debug info there, logging it to file as well.

This topic is closed to new replies.

Advertisement