#63 some debugger enhancements

Unstable_(example)
closed
None
6
2012-09-07
2004-10-21
No

The first patch shows whether the current jump will be
executed or not. It checks the current register flags and
adds a 'jump' or 'no jump' to the additional debug info.

The second patch buffers the debug log info and allows
to scroll back and forth using the 'home' and 'end' keys
respectively.

Discussion

  • first patch: add information about jumps to the additional debug info

     
  • second patch: make the debug log scrollable

     
    Attachments
  • source files after adding the two patches

     
    Attachments
  • Peter Veenstra
    Peter Veenstra
    2004-10-22

    Logged In: YES
    user_id=535630

    Interresting and the ideas are useful.

    I'll inspect the difs and see if they meet our coding
    standards. ;)

    If they do i'll commit it.

    thank you.
    Peter

     
  • Peter Veenstra
    Peter Veenstra
    2004-10-23

    Logged In: YES
    user_id=535630

    I've added the patch to the cvs.
    I removed the logging.h and change and put it in debug.h
    added some more information to debug_gui. (so it is shown
    with which keys you can scroll which window).

    Thank you
    Peter

     
  • Logged In: YES
    user_id=576133

    Thanks for adding the patch :)

    Keep up the good work!

    Btw, I made a small bug in my patch (debug_gui.cpp):
    mvwprintw(dbg.win_out,dbg.win_out->_maxy, 0, "");
    should be
    mvwprintw(dbg.win_out,dbg.win_out->_maxy-1, 0, "");

    gtz. Hendrik Jan

     
  • Peter Veenstra
    Peter Veenstra
    2004-10-24

    Logged In: YES
    user_id=535630

    Okay Committed the bugfix to the cvs,

    Peter