I want to know how %2 looks like, because the code will fail when executing line 4. In normal code I can just press ` and get an interactive Julia prompt to explore local variables. This doesn’t work in the present case. How can I take a look at %2?
I am not sure Debugger.jl is set up to support this. If you can create all the arguments to _pullback, you could manually create a frame with JuliaInterpreter.enter_frame and then issue debugcommands until you’ve passed statement 2. Then you can look up the value in frame.framedata.ssavlues.
I thought it would be cool to include it in the standard julia evaluation mode (which uses the Julia parser) so you could do sin(a * %2 * 5) for example but that runs into % not being an infix operator. Hmm…