• Advertisement
Sign in to follow this  

How to debug in full screen mode?

This topic is 993 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

Hello.

 

According to documentation:

 

A DXGI swap chain relinquishes full-screen mode only when absolutely necessary. This means that you can debug a full-screen application using multiple monitors, as long as the debug window doesn't overlap the swap chain's target window.

 

 

But when I call 

swapChain->SetFullscreenState()

one monitor shows an output and another becomes black.

Share this post


Link to post
Share on other sites
Advertisement
It depends, if you just want to follow the running debug output, you might want to use a 2nd monitor and execute and or debug on the 2nd one (extend desktop)

Share this post


Link to post
Share on other sites


You realise that you need to be on a breakpoint or uncaught exception to debug right?

Yes, of course. The code hits a breakpoint, but still my second monitor is just black.


It depends, if you just want to follow the running debug output, you might want to use a 2nd monitor and execute and or debug on the 2nd one (extend desktop)

I'm doing exactly that.

Share this post


Link to post
Share on other sites
It might have to do with your display settings.
I would think you need to use "extend desktop" and make the monitor you want to debug on/ see visual studio during debugging, the secondary one. Then the app should run on the primary one (if not, you might have to force this through either your code or the device driver)

Share this post


Link to post
Share on other sites


I would think you need to use "extend desktop" and make the monitor you want to debug on/ see visual studio during debugging, the secondary one. Then the app should run on the primary one (if not, you might have to force this through either your code or the device driver)

Exactly! Thank you very much! )

Share this post


Link to post
Share on other sites

For some cases having a second PC you can use to remote debug to can be very handy, especially when the problem is with switching back and forth from full screen mode.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement