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: 

Delete all breakpoints in non-debugging Mode

Former Member
0 Kudos

Hello,

If i am debugging say Tcode VF02, I have kept different breakpoints in different programs.. after coming out of the debugging to normal mode... now i want to delete all the breakpoints which i have set... without going into debugging mode again..how can i do that?

Regards

1 ACCEPTED SOLUTION

former_member223981
Active Contributor
0 Kudos

You also create your own Z transaction that will read all the saved breakpoints and mass delete these breakpoints. For example, in function SYSTEM_DEBUG_SET_BREAKPOINTS, we can see that the saved breakpoints are determined using a function call:

   *
  CALL 'DEBUG_CNTL'
       ID 'MODE'                  FIELD 'R'
       ID 'BREAKPOINTS'           FIELD l_breakpoints_saved[]  <<<<<<<<<<<<<<<<
       ID 'FLAG_SYSTEM_DEBUGGING' FIELD l_flag_system_debugging
       ID 'FLAG_EXCEPTION_OBJECT' FIELD l_flag_exception_object.

Perhaps you could do something similar in a Z coding and then loop through each of the respective breakpoints and delete using function RS_DELETE_BREAKPOINT.

9 REPLIES 9

jayaprakashhj
Participant
0 Kudos

HI,

Goto se38 -->give the program name-->  Display --> utilities ( MENU bar) --> Breakpoints--> Display --> Tick the Check boxes-->  Delete selected objects.

Regards,

JP

Former Member
0 Kudos

hi Tejas

go to the menu of the program, see the Utilities->breakpoints->display, then you can click delete breakpoint.

Or you can logout and login, the breakpoint will be deleted.

regards,

Archer.

former_member184569
Active Contributor
0 Kudos

HI Tejas,

Have you created the breakpoint by coding the statement breakpoint. ?

To find these programs, got to Utilities->Global Search or

do an extended program check using transaction SLIN.

If you just created breakpoints dynamically while debugging the transaction, then go to program, Utilities-> Breakpoiints -> Display/ Delete.

If you do not know which all programs you had set the breakpoint, then the easiest way is, log out and log in. When you log out, all the breakpoint that you had set will be deleted.

Former Member
0 Kudos

Hi,

Thanks for reply.

I have created session breakpoints..while debugging only..

Also the breakpoints are in different programs which i can't remember..so i can't go to program for utilities menu..

can we see list of active session breakpoints outside debugging for any particular user?

Regards

Tejas

0 Kudos

Hi tejas,

log off and log on again then check...

Regards,

Ankit

Former Member
0 Kudos

Hi,

I know logoff will remove all breakpoints(How many times i'll logoff).. and i also know going through path which Zhang mentioned(How many programs i have to go and delete breakpoints)..

Is there any other method to delete breakpoints..

Regards

0 Kudos

Hi Tejas

You will have to go in debugger once and use breakpoints-Delete all break points.. One option second in case you want to see where have you set the breakpoints go to break point tab and delete all.

Nabheet

nishantbansal91
Active Contributor
0 Kudos

Hi Tejas,

if you use the External breakpoint go to the Tcode SRDDEBUG and delete the debugging for user.

For the Session debug Log in again automatic all the session breakpoint are Disable.


Regards,

Nishant Bansal

former_member223981
Active Contributor
0 Kudos

You also create your own Z transaction that will read all the saved breakpoints and mass delete these breakpoints. For example, in function SYSTEM_DEBUG_SET_BREAKPOINTS, we can see that the saved breakpoints are determined using a function call:

   *
  CALL 'DEBUG_CNTL'
       ID 'MODE'                  FIELD 'R'
       ID 'BREAKPOINTS'           FIELD l_breakpoints_saved[]  <<<<<<<<<<<<<<<<
       ID 'FLAG_SYSTEM_DEBUGGING' FIELD l_flag_system_debugging
       ID 'FLAG_EXCEPTION_OBJECT' FIELD l_flag_exception_object.

Perhaps you could do something similar in a Z coding and then loop through each of the respective breakpoints and delete using function RS_DELETE_BREAKPOINT.