vogons - very old games on new systems Last Visit : never :: 2010-8-01 @ 01:52 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox Development ::
up DOSBox debugger
Reply with quote DOSBox debugger :: 2004-12-04 @ 09:07 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
if you have experience with debugging you can try the DOSBox debugger
It can be downloaded from:
DOSBox debugger installer 0.72
Dosbox debugger installer 0.63
DOSBox debugger installer 0.65
For information on how to use it:
Guide to debugger


Last edited by Qbix on 2007-8-31 @ 10:51 am; edited 3 times in total

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2006-10-25 @ 04:29 am
starik
Newbie
no avatar
Joined: 2006-06-20
Posts: 8
am i blind, or is there no way in the debugger to search mem for a string or sequence of bytes?
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2006-10-25 @ 06:59 am
dvwjr
Member
no avatar
Joined: 2002-11-23
Posts: 328
starik wrote:
am i blind, or is there no way in the debugger to search mem for a string or sequence of bytes?


You have to think outside the 'BOX...

Use the Dosbox Debug command: MEMDUMPBIN to dump a range of memory to a file named MEMDUMP.BIN Then use your favorite Hex editor to do all the string or byte searches to your heart's content on that file. Presto - you have your in-memory search capability.

Best of luck,

dvwjr
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2006-10-29 @ 07:27 pm
starik
Newbie
no avatar
Joined: 2006-06-20
Posts: 8
inded i thought of that and how much pain its going to be.

i ended up loading 16-bit debugger in dosbox and then loaded the program into that, and then i had my search function.

too bad the almighty softice doesnt work in dosbox. does it work in boschs?
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2006-10-29 @ 08:09 pm
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 9334
Why not? Just spell it correctly.
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2006-11-28 @ 01:45 pm
manku
Newbie
no avatar
Joined: 2006-11-28
Posts: 1
Would be really nice if debugger has ability to set breakpoint on *read* access on some memory fragment. Something like

BPMR [segment]:[offset] [length]

E.g. BMPR 0010:0100 0A -> break program execution if reading from 0010:0100-0010:01009 occured.
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2007-1-20 @ 11:12 pm
mefistotelis
Newbie
[avatar]
Joined: 2006-04-27
Posts: 25
Location: Poland
It is great, I just miss so s-ice commands...

for example enabling/disabling breakpoints without deleting them (BE/BD)
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2007-1-20 @ 11:36 pm
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 9334
I'm missing the whole softice logic, expression evaluation etc. Happy
But nobody yet volunteered to add it...
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-5-21 @ 03:00 am
szevvy
Newbie
no avatar
Joined: 2007-05-21
Posts: 2
Is there any chance you could put the 0.70 binary up? It'd make me very happy Happy

Thanks!
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2007-5-21 @ 05:58 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
for the time being try this exe
http://pcnwstage.phys.rug.nl/dosbox-debug/dosboxnt.exe
Should be a few weeks after 0.70.

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-5-21 @ 12:27 pm
szevvy
Newbie
no avatar
Joined: 2007-05-21
Posts: 2
Perfect! Thank you muchly!
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2007-8-14 @ 09:58 pm
angrylion
Newbie
no avatar
Joined: 2007-08-14
Posts: 13
Location: Moscow, Russia
I would be grateful if someone posted here 0.71 Heavy debug Windows binary.
The reason is that I'm trying to find out why CodeView 3.11/3.14 crashes in DosBox. I debug programs written in Microsoft C 6.0 and they have symbolic information incorporated in them. This symbolic information is in NB02 format which only early versions of CodeView 3.x understand well. That's why I'm stick to these old debuggers.
CodeView 3.x didn't show anything in DosBox 0.70 (immediate crash) but in 0.71 it crashes in process of working having shown a lot of stuff. So 0.71 debug version would be helpful.
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-8-31 @ 10:51 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
Added 0.72
DOSBox 0.72 heavy debug version

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-8-31 @ 01:34 pm
angrylion
Newbie
no avatar
Joined: 2007-08-14
Posts: 13
Location: Moscow, Russia
Thanks a lot!
In 0.65 there was a useful feature that I used quite often: "1, 2, 4, 5 perform 100, 500, 1000, 5000 or 10000 CPU cycles then return to debugger mode".
This is still reflected in the guide to the debugger but it seems that it disappeared in 0.70/0.72 heavy debug.
Are these debugger keys completely gone or is it only my mistake?
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-8-31 @ 01:36 pm
wd
DOSBox Author
no avatar
Joined: 2003-12-03
Posts: 9334
Use the LOGS (or LOGL) for that, gives additionally nice output files.
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2007-8-31 @ 01:42 pm
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
they are gone as the command mode and regular mode were merged
you can get comparable behaviour (although it is more typing)
by entering logs 100

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
Reply with quote Re: DOSBox debugger :: 2008-5-02 @ 02:08 pm
jefferl
Newbie
no avatar
Joined: 2006-01-10
Posts: 21
Location: Taipei
The code are change from currently 2008/4/30 SVN source code.

I have do some modify on dosdebugger.

Change note:
[bugfix] "LV" command
stand alone commandline from codeView sub-window
[New add] data dump method as byte/word/dword (db/dw/dd)
[New add] windows adjust command (wr/wd/wc/wv [winsize])

If someone interesting the soft-ice like command , It's the attach source file.
src_debug.zip (23.5kB) - Downloaded 545 Time(s)
add s-ice like debug-command
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2008-5-02 @ 02:31 pm
ih8registrations
Oldbie
no avatar
Joined: 2003-07-25
Posts: 864
I've never managed to get dosbox to compile with debugger successfully under mingw. Anyone done so? I run into an issue with pdcurses. From compiling it to installing precompiled pdcurses. Either I run into an error message "<fill in when I recall it>", or dosbox compiles and starts but quickly shutsdown without saying anything.
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2008-5-02 @ 02:38 pm
jefferl
Newbie
no avatar
Joined: 2006-01-10
Posts: 21
Location: Taipei
My compiling environment

Mingw
pdcurses-2.6.0-2003.07.21-1.exe
./configure --enable-debug=heavy
make
Nothing special.

What's your environment ?
Post new topicReply to topic
Offline
Reply with quote Re: DOSBox debugger :: 2008-5-02 @ 03:14 pm
ih8registrations
Oldbie
no avatar
Joined: 2003-07-25
Posts: 864
Default mingw running on xp. I also do --enable-core-inline

Installed pdcurses-2.6.0-2003.07.21-1.exe, and recompiled; it does the startup immediately shutdown with no error messages routine. I guess I'll try without inline core.

Nope, still no joy.


Last edited by ih8registrations on 2008-5-02 @ 03:52 pm; edited 1 time in total
Post new topicReply to topic
Offline
page 1 of 3
Goto page 1, 2, 3  Next
All times are GMT
Moderate
Quick Reply & Options
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
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.