Step back during debugging

Answered

Hi all,

is there any possibility how can I do step back in a debug mode? In VS there is a yellow arrow and it's possible to move it by mouse.

Thank you for reply.

10 comments
Comment actions Permalink

Hi!

Feature is actually there, but for now not that easy to discover.

Put caret to the line where you want to move execution and call "Set Next Statement" from context menu.

2
Comment actions Permalink

I have a dumb question.  What is this caret you speak of?  It's not the cursor.  When I put the cursor to the line I want, I see no such thing from the context menu.

0
Comment actions Permalink

@Steve, my previous answer is outdated. Now you can drag the yellow arrow similar way as in VS.

0
Comment actions Permalink

Could you explain it in more detail, I can't find the yellow arrow in IntelliJ.

0
Comment actions Permalink

Hello, in Rider it looks this way:

There are arrows Skip to Here and Run to Here, you can find more information in the corresponding Help section.

0
Comment actions Permalink

Hello,

I'm using Rider for UE4 and this looks different for me.

I'm on the latest version. Am I missing something?

0
Comment actions Permalink

Hello Tobias, 

In Rider for Unreal it should be added soon as well, since it was recently added to CLion, as it  is mentioned in the corresponding post.

0
Comment actions Permalink

Does not work when you break on exception. You cannot step back a and evaluate what lead to exception. This is super annoying during debugging.. such thing is working in Visual Studio.

0
Comment actions Permalink

Hello Jindrich Cincibuch, could you please provide some specific example when you can step back in VS and unable to do it in Rider? It should work unless the exception is thrown by external code, so a sample would help us to identify the issue.

0

Please sign in to leave a comment.