Skip to main content
gamedev.net
🔒 Locked

debug problem

Started by counterrabbit 2 replies 250+ views
Original Post
counterrabbit
counterrabbit
hi there im currently trying to render an image using dx, when i run the debugger my resolution goes into its lowest and you cant get any functionality back in ur pc unless you ctrlaltdel and end the app.exe which the debugger just created. How would i run the debugger without running the exe or do any of yiou know a solution to stop it from doing this? thanks
Evil Steve
Evil Steve
You could add logging to see where the app freezes, you could try remote debugging (needs 2 PCs), or you could put a breakpoint at the start of WinMain() if you want to trace through until DX is setup.
counterrabbit
counterrabbit
never thought of whacking one near winmain . . nice one . . . .NOOOOOO

just tried it and it still did it . . .the main problem is that a ctrl+f5 will run what im expecting, it just goes mad when the app is run in debug mode . . anything else . . the 2 pc thing is not a possibility
Endurion
Endurion
Are you trying to do fullscreen?

That doesn't work well with the debugger (as in it does work, but you can't see anything). Try implementing windowed mode for debugging, there shouldn't be any difference beside initialising and handling resizing (you do handle lost devices?).
Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Topic Locked

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

Sign in to reply to this topic.