News for hackers. Stuff that matters.
Re:New React DevTools by oauea on Friday August 16, 2019 @08:24AM (#20714414)
> You can return back to the previous statements in any decent debugger

That's a bit of a stretch. What debuggers are /you/ using?

Re:New React DevTools by tigershark on Friday August 16, 2019 @11:19AM (#20716044)
Visual studio, rider, IntelliJ idea, eclipse, they can all do it, although the last two can only go to the last stack call instead of moving to the specific statement if I recall correctly.
Re:New React DevTools by oauea on Friday August 16, 2019 @11:22AM (#20716073)
IntelliJ cannot step back to the previous statement as the JVM does not support this. Thus neither can Eclipse.
Re:New React DevTools by tigershark on Friday August 16, 2019 @11:44AM (#20716309)
It can discard the last stack frame, as I said in my edited comment.
Re:New React DevTools by mcintyre1994 on Friday August 16, 2019 @09:24AM (#20714885)
You can move around the execution in the VS debugger - if you’re at a break point you can move execution earlier in that function etc. That’s the only debugger I’ve seen doing that though.
Re:New React DevTools by seleniumBubbles on Friday August 16, 2019 @10:18AM (#20715381)
You can also use the “restart stack frame” option in Chrome DevTools to move back to the beginning of any function currently being executed. So if you skip past something on accident, you can just restart the closest stack frame to bring you back.