flat assembler
Message board for the users of flat assembler.

Index > Windows > Help Debugging fullscreen apps with ollydbg

Author
Thread Post new topic Reply to topic
MAD_DËMON



Joined: 03 Mar 2006
Posts: 23
MAD_DËMON 15 Apr 2006, 00:29
How can I debug full-screen program? I'm using ollydbg. The debugger runs my program fine, but when a breakpoint is triggered the programs activity stops and the video mode isn't restored correctly to the previous mode where the desktop/explorer was active so the windows of olly dbg aren't longer displayed, to restore the desktop graphic mode i must kill the app but when i do this the debugger isn't able to inspect the program info

_________________
Tah rah rah boom de ay, I blew some guy away, his brains turned into spray, I was paid well that day
Post 15 Apr 2006, 00:29
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 15 Apr 2006, 00:43
1)Make your application run in window mode for debugging it Very Happy
2)Use a log file written to disk and inspect that...
3)Use DebugView and OutputDebugStringA ...
Debugview can be run and receive debug info remotely on another PC.
4)Windbg is able to do this also.
Post 15 Apr 2006, 00:43
View user's profile Send private message Visit poster's website Reply with quote
MAD_DËMON



Joined: 03 Mar 2006
Posts: 23
MAD_DËMON 15 Apr 2006, 02:08
bogdanontanu wrote:
1)Make your application run in window mode for debugging it Very Happy
2)Use a log file written to disk and inspect that...
3)Use DebugView and OutputDebugStringA ...
Debugview can be run and receive debug info remotely on another PC.
4)Windbg is able to do this also.


i forgot to say that the app that i trying debug only can run in fullscreen it's no able to run windowed, but i have find how to do this: pressing ALT+F5 in the debugger window

_________________
Tah rah rah boom de ay, I blew some guy away, his brains turned into spray, I was paid well that day
Post 15 Apr 2006, 02:08
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 15 Apr 2006, 12:22
Ok, if this works -->then you are fortunate... because some full screen games do not allow this.
Post 15 Apr 2006, 12:22
View user's profile Send private message Visit poster's website Reply with quote
Kermil



Joined: 26 Oct 2005
Posts: 35
Location: Russia
Kermil 15 Apr 2006, 12:41
Use softice. And it will solve your problem.
Post 15 Apr 2006, 12:41
View user's profile Send private message ICQ Number Reply with quote
TDCNL



Joined: 25 Jan 2006
Posts: 56
TDCNL 15 Apr 2006, 14:01
Kermil wrote:
Use softice. And it will solve your problem.


The guy is using OllyDbg Rolling Eyes

_________________
:: The Dutch Cracker ::
Post 15 Apr 2006, 14:01
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav 16 Apr 2006, 09:54
try to write a program which will be call ChangeDisplaySettings after game executing
Post 16 Apr 2006, 09:54
View user's profile Send private message Reply with quote
Kermil



Joined: 26 Oct 2005
Posts: 35
Location: Russia
Kermil 17 Apr 2006, 06:49
TDCNL wrote:

The guy is using OllyDbg Rolling Eyes

Main question is "How can I debug full-screen program?". I offered some tool, that will solve problem, which occurs, when he is using OllyDbg. Confused
Post 17 Apr 2006, 06:49
View user's profile Send private message ICQ Number Reply with quote
xanatose



Joined: 09 Jan 2004
Posts: 57
xanatose 18 Apr 2006, 00:03
Dont know if ollydbg has support or not, but another solution (if you have more than one machine) is use remote debugging. Its sure beats staring an a black screen wondering what went wrong.
Post 18 Apr 2006, 00:03
View user's profile Send private message Reply with quote
TDCNL



Joined: 25 Jan 2006
Posts: 56
TDCNL 19 Apr 2006, 19:50
Kermil wrote:
TDCNL wrote:

The guy is using OllyDbg Rolling Eyes

Main question is "How can I debug full-screen program?". I offered some tool, that will solve problem, which occurs, when he is using OllyDbg. Confused


I guess you're right there, let's hope the he got sice Smile

_________________
:: The Dutch Cracker ::
Post 19 Apr 2006, 19:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.