Menu

#294 Debug updates

Unstable_(example)
open
nobody
None
1
2021-05-15
2021-05-11
siddhartha
No

This is a broader update of [289] (https://sourceforge.net/p/dosbox/patches/289/) and [293]https://sourceforge.net/p/dosbox/patches/293/). I've added a few new debug commands and overhauled the debug window.

  • The Debugger window can no longer be resized on Windows 10, which would mess up the formatting. The window can no longer be maximized either since it's a static size.
  • When closing the debugger, DOSBox will exit with a status code 0, which works better if run from a batch file.
  • New debugger commands:
    • DA: Will disassembly n bytes from segment:offset to a text file (defaulting to DISASM.TXT)
    • BPSAVE: Will save the current breakpoint list to BPLIST.TXT
    • EXEC: Will execute debugger commands from the specified file (comments can be made using a semicolon ";")
  • An autoexec file can be specified with autoexec= in the debug section of dosbox.conf. Just like the command file above, comments can be made using a semicolon.
1 Attachments

Discussion

  • ripsaw8080

    ripsaw8080 - 2021-05-13

    Thanks. Do the console windows on your system have scroll bars by default, or did you mask those window style elements "just in case"?

     
  • siddhartha

    siddhartha - 2021-05-13

    The scroll bars are masked as well.

     

    Last edit: siddhartha 2021-05-13
  • ripsaw8080

    ripsaw8080 - 2021-05-14

    I know, that's why I'm asking if you have scroll bars on console windows by default on your system. On my system there are no scroll bars on console windows by default, so there's no point in masking what isn't there.

     
    • siddhartha

      siddhartha - 2021-05-15

      Oh, yes, on my system (can't remember if it was Windows 7 or 10) the scroll bars were still present.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.