#51 Continue in the debugger

open
nobody
None
5
2013-01-01
2008-03-31
rkd77
No

"Continue" in the debugger should first execute the code and then check conditions.
If a breakpoint is equal to PC one must first press "Next" and then "Continue".
It is a bit annoying with loops.
I hope you undurstand me.

Discussion

  • Philip Kendall
    Philip Kendall
    2008-03-31

    Logged In: YES
    user_id=29214
    Originator: NO

    It does exactly what you suggest already. Which user interface are you using, and *exactly* what behaviour are you seeing that you think should be changed? The only guess I have is that you are seeing a focus issue I have seen where the "continue" button in the GTK+ UI does not repeat correctly.

     
  • rkd77
    rkd77
    2008-04-01

    Logged In: YES
    user_id=2038959
    Originator: YES

    Here is a simple code:
    org 34000
    ld b,20
    ld hl,0
    .loop
    inc hl
    djnz loop
    ret

    Set breakpoint at "inc hl", run program and click "Continue", "Continue". HL is not icremented. The line must be first highlighted by clicking on it.

    I want the line where debugger stops be highlighted, so next continue will work.

     
  • Philip Kendall
    Philip Kendall
    2008-04-01

    Logged In: YES
    user_id=29214
    Originator: NO

    Works For Me (if the focus problem is ignored).

    You seem to be assuming that the "highlighted" line (in the GTK+ debugger?? Again, *which user interface are you using*?) means anything. *It doesn't*. Just move your mouse off the continue button and back on again, or type the continue command into the command box and it will work. The code does *not* check for the conditions when continue is pressed, so you are obviously seeing a different issue to what you are assuming.

     
  • rkd77
    rkd77
    2008-04-01

    Logged In: YES
    user_id=2038959
    Originator: YES

    It works if I type "continue" and click repeateadly "Evaluate", (I use GTK+2 version).
    It doesn't work by clicks on the "Continue" button. Is this the "focus" problem?

     
  • rkd77
    rkd77
    2008-04-05

    One button instead of two

     
    Attachments
  • rkd77
    rkd77
    2008-04-05

    Logged In: YES
    user_id=2038959
    Originator: YES

    I have an idea. Instead of two buttons "Continue" and "Break" only one.
    Sometimes it will be labeled "Continue", sometimes "Break".
    I'm not able to express what I think. If you test patch in the attachment you'll understand.
    It works for me.
    File Added: fuse_debug.patch

     
  • rkd77
    rkd77
    2008-04-19

    Logged In: YES
    user_id=2038959
    Originator: YES

    I cannot express what I think, because I don't speak English. What do you think about the idea of one button, which is either "Continue" or "Break"?