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

while debugging, can we move back to a previous passed step?

Former Member
0 Likes
10,478

While debugging can we move back to a previous step of debugging or debugging is only a one way (forward) procedure.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,294

Hope you are talking about ABAP debugging in SAP R/3.

We wish to go at previous step during debugging, but not possible. Its not like VB debugging

Regards,

Vishal

11 REPLIES 11
Read only

Former Member
0 Likes
4,295

Hope you are talking about ABAP debugging in SAP R/3.

We wish to go at previous step during debugging, but not possible. Its not like VB debugging

Regards,

Vishal

Read only

Former Member
0 Likes
4,294

Hi,

Going to a previously step is not possible in debugging...only option have a new break-point at that point and re-start debugging...

Regards,

Raj

Read only

Former Member
0 Likes
4,294

Hello Siddique,

You can go to the previous step while debugging.

Place cursor on the step you want to go back. Go to Debugging Menu and click on "Goto Statement" option

Regards

Priya

Read only

Former Member
0 Likes
4,294

Hi Priya

I cannot locate the debugging, goto statement in ABAP debugger. please advise.

Thanks in advance.

Read only

Former Member
0 Likes
4,294

hi faiq,

no u can't go back to the prev. step.

and u can find GOTO Statement option..

click->Debugging->goto statement.

Read only

Former Member
0 Likes
4,294

hi,

I believe, YOu can NOT go back to the statements, but what you can do is put a BREAK-POINT by double clicking on the line(starting place) and then Say SAVE. next time you can stop that statement.

Regards

Srikanth

Read only

Former Member
0 Likes
4,294

GUYS U CAN GO BACK TO THE PREVIOUS STEP.

U KEEP THE CURSOR IN THE LINE WHICH HAS BEEN ALREADY EXECUTED , GOTO THE 'DEBUGGING MENU->GOTO STATEMENT'

Read only

0 Likes
4,294

Hi Dinu,

Although this entry has been 7 years back, I still want to say something about this GOTO STATEMENT.

Yes, GOTO STATEMENT can let you navigate forward and backward. But, in my opinion, it does has it's bad side too...

This GOTO STATEMENT, when you used it to navigate backwared, the values does not revert to the original value... but it just continue from the value of last step... although it we may just change the value so it is the original value but if it is structure... it will be complicated...

Hence, it only helps us 50% of our effort and another 50% will be an effort to put back original value to the previous step... And I wouldn't recommend ABAP developers to make it a habit to use this... it's better to put a break-point in anywhere you think you want to trace...

I do wish, ABAP editor really have a "TRUE" debug backward feature... And I can imagine if SAP developers were to make "the memory revert back to one step before" can be a huge task.

I believe there's a reason behind why values are not reverted when "GOTO STATEMENT" is navigate backward.

Cheers!!!

William Wilstroth
Read only

vinoth_aruldass
Contributor
0 Likes
4,294

hi

in debugging you cannot goback and debug . but while debugging you have various breakpoints Please look into those oprions.

Vinoth

Read only

former_member491621
Contributor
0 Likes
4,294

Hi Faiz,

You can go to a step already executed by placing the cursor on the line you want to navigate to and the click on 'Menu-> Goto Statement'(or you can place the cursor on the line and press Shift+F12).

But as told by william, the values won't be reverted back(if they are changed by that step).

Read only

0 Likes
4,294

This message was moderated.