Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debug watchpoint for subroutine form

Former Member
0 Likes
586

Is there a way to set a debug watchpoint for a particular subroutine form?

I tried using ABDBG-LEVENT but that didn't work.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
541

Execute the program in dbug mode ( /h ) .

Once you are in the debug mode , Click on option 'Breakpoint' ,

then select option -> "Break Point At " --> Subroutine .

This way you would be able to set a breakpoint for a subroutine / form.

Hope this is helpful.

4 REPLIES 4
Read only

Former Member
0 Likes
541

You can set a break-point for a particular form in a particular program. Is that what you are looking for?

Rob

Read only

0 Likes
541

Yeah. I do that most of the time. Sometimes I have to turn on System debuging and Update debugging.

What I wanted to see was, if I forget to turn those on, can I set a watch point for a given form name.

There's a structure called ABDBG that you can see if you click the CALLS button. But, setting a Watchpoint for it doesn't work.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
541

Hello,

You can use BREAK <username> stmt at the point where you want to debug.

BR,

Suhas

Read only

Former Member
0 Likes
542

Execute the program in dbug mode ( /h ) .

Once you are in the debug mode , Click on option 'Breakpoint' ,

then select option -> "Break Point At " --> Subroutine .

This way you would be able to set a breakpoint for a subroutine / form.

Hope this is helpful.