Skip to main content
Question

Break Key on Universe Windows

  • January 18, 2024
  • 7 replies
  • 0 views

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
Forum|alt.badge.img
  • Participating Frequently
  • January 19, 2024

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
  • January 19, 2024

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


Tyrel Marak
Forum|alt.badge.img
  • Participating Frequently
  • January 19, 2024

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


  • Author
  • Participating Frequently
  • January 19, 2024

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
Forum|alt.badge.img
  • Participating Frequently
  • January 19, 2024

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
Forum|alt.badge.img
  • Participating Frequently
  • January 19, 2024

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)


  • Author
  • Participating Frequently
  • January 19, 2024

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!