Application Development 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: 

[Debugging help] How to stop program at certain criterion

Former Member
0 Kudos

Dear experts,

I would like to ask for a debugging skill.

I have a table loop about 1000 records. There is a variant ID, I would like to stop when ID equals a value like 'XXXXX'.

How can I set up breakpoint to make loop stop when ID='XXXXX'

Thank you

1 ACCEPTED SOLUTION

former_member188827
Active Contributor
0 Kudos

Use Watchpoint for this..In debugging mode select the variable and put watchpoint at your desired value.

2 REPLIES 2

former_member188827
Active Contributor
0 Kudos

Use Watchpoint for this..In debugging mode select the variable and put watchpoint at your desired value.

Former Member
0 Kudos

Or you can set break point in your code:


IF ID='XXXXX'.
break-point.
* or break <your username>
ENDIF.

regards,