The idea method rolls back Reset Frame

1. Use
method 1 to call method 2, and add a breakpoint inside method 2. When the program reaches the breakpoint, you can click the arrow in the red box in the figure below to roll back.
Notice! ! ! Rollback is limited, not any step can be rolled back, only the previous method can be rolled back, this is my understanding of the usage of this button
insert image description here

2. Application Scenario
①When the log prints out an error, crtl+shift+fthe location is found through the global search, and the method to continue to find it comes from, because there are so many methods, it would be a waste of time to check one by one, at this time You can use the rollback function of idea to return to the previous method that executed this method.

Guess you like

Origin blog.csdn.net/PhilsphyPrgram/article/details/127765088