![]() |
Last Visit : never :: 2010-8-01 @ 01:52 am : Now | |||
FAQ |
Search |
Memberlist |
Usergroups |
|
Register |
Profile |
Messages |
Log in |
|
| Forum Index :: DOSBox Development :: | |
DOSBox debugger
|
|
|---|---|
DOSBox debugger :: 2004-12-04 @ 09:07 am
|
|
|
Qbix DOSBox Author 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 |
|
|
Re: DOSBox debugger :: 2006-10-25 @ 04:29 am
|
|
|
starik Newbie 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? |
|
|
Re: DOSBox debugger :: 2006-10-25 @ 06:59 am
|
|
|
dvwjr Member 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 |
|
|
Re: DOSBox debugger :: 2006-10-29 @ 07:27 pm
|
|
|
starik Newbie 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? |
|
|
Re: DOSBox debugger :: 2006-10-29 @ 08:09 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 9334 |
Why not? Just spell it correctly. |
|
|
Re: DOSBox debugger :: 2006-11-28 @ 01:45 pm
|
|
|
manku Newbie 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. |
|
|
Re: DOSBox debugger :: 2007-1-20 @ 11:12 pm
|
|
|
mefistotelis Newbie 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) |
|
|
Re: DOSBox debugger :: 2007-1-20 @ 11:36 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 9334 |
I'm missing the whole softice logic, expression evaluation etc.
But nobody yet volunteered to add it... |
|
|
Re: DOSBox debugger :: 2007-5-21 @ 03:00 am
|
|
|
szevvy Newbie Joined: 2007-05-21 Posts: 2 |
Is there any chance you could put the 0.70 binary up? It'd make me very happy
Thanks! |
|
|
Re: DOSBox debugger :: 2007-5-21 @ 05:58 am
|
|
|
Qbix DOSBox Author 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 |
|
|
Re: DOSBox debugger :: 2007-5-21 @ 12:27 pm
|
|
|
szevvy Newbie Joined: 2007-05-21 Posts: 2 |
Perfect! Thank you muchly! |
|
|
Re: DOSBox debugger :: 2007-8-14 @ 09:58 pm
|
|
|
angrylion Newbie 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. |
|
|
Re: DOSBox debugger :: 2007-8-31 @ 10:51 am
|
|
|
Qbix DOSBox Author 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 |
|
|
Re: DOSBox debugger :: 2007-8-31 @ 01:34 pm
|
|
|
angrylion Newbie 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? |
|
|
Re: DOSBox debugger :: 2007-8-31 @ 01:36 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 9334 |
Use the LOGS (or LOGL) for that, gives additionally nice output files. |
|
|
Re: DOSBox debugger :: 2007-8-31 @ 01:42 pm
|
|
|
Qbix DOSBox Author 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 |
|
|
Re: DOSBox debugger :: 2008-5-02 @ 02:08 pm
|
|
|
jefferl Newbie 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. |
|
|
Re: DOSBox debugger :: 2008-5-02 @ 02:31 pm
|
|
|
ih8registrations Oldbie 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. |
|
|
Re: DOSBox debugger :: 2008-5-02 @ 02:38 pm
|
|
|
jefferl Newbie 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 ? |
|
|
Re: DOSBox debugger :: 2008-5-02 @ 03:14 pm
|
|
|
ih8registrations Oldbie 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 |
|
|
|
page 1 of 3
|
|
| 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 |
|
2002-2003 zetafleet.dom.