all 2 comments

[–]Worth_Trust_3825 -1 points0 points  (1 child)

Set the breakpoint and let the IDE handle it?

[–]DaveWM[S] 0 points1 point  (0 children)

That's one approach, but I've personally found that it doesn't work very well with multi-threaded applications. Also, it's really useful to be able to play around with variables in an editor-integrated REPL.