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

[Debugging help] How to stop program at certain criterion

Former Member
0 Likes
497

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
Read only

former_member188827
Active Contributor
0 Likes
452

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

2 REPLIES 2
Read only

former_member188827
Active Contributor
0 Likes
453

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

Read only

Former Member
0 Likes
452

Or you can set break point in your code:


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

regards,