Skip to main content
Participating Frequently
Jan 18, 2024 11:02 AM UTC
Question

Break Key on Universe Windows

I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

Is there a different key that needs to be used or how do I break to get into the debugger?

    7 replies

    Tyrel Marak
    Participating Frequently
    Jan 19, 2024 7:31 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    Troy,

    Have you tried running PTERM DISPLAY to verify the break, susp, etc keys?

    -Tyrel

    Dale Kelley
    Participating Frequently
    Jan 19, 2024 7:32 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    Try Ctrl-Z.  What I usually do is put a DEBUG statement into the source at the point of interest.

    Dale

    Dale
    Tyrel Marak
    Participating Frequently
    Jan 19, 2024 7:38 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    You might also want to check your VOC's INTR.KEY, QUIT.KEY, SUSP.KEY entries to verify what's allowed.

    -Tyrel

    Participating Frequently
    Jan 19, 2024 11:00 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    As a follow up, I did PTERM  DISPLAY and the relevant data says INTR = OFF and BREAK = INTR.  I reviewed the PTERM documentation and did INTR ON and now that INTR=DEL, but the delete key is printing ^[W.

    New suggestions?

    Tyrel Marak
    Participating Frequently
    Jan 19, 2024 11:07 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    PTERM SUSP ^C or something like that (whatever you want).

    Tyrel Marak
    Participating Frequently
    Jan 19, 2024 11:09 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    Sorry, should have said PTERM INTR ^C (by pressing ctrl-c)

    Participating Frequently
    Jan 19, 2024 11:12 AM UTC

    I am trying to get into the debugger in a program by typing the break key using <ctrl-c>, but all it does is print ^C.  I did BREAK ON before running the program.

    Is there a different key that needs to be used or how do I break to get into the debugger?

    Thanks Tyrel, that worked!