You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other words, in Julia 1.12, "step-next" steps "over" the macro. There are some things I like about this behavior (it matches what the developer sees when looking at the code that calls the macro).
You might imagine that "step-in" would step into the macro, but that's not currently true: it steps into the implementation of sin. So it's definitely inconsistent. We could either make it behave the same as previous versions, or decide we like the idea of stepping into the macro and figure out how to get that working properly (it would be a breaking change).
The text was updated successfully, but these errors were encountered:
On Julia 1.12 (with the new linetable implementation), a stepping test fails at
JuliaInterpreter.jl/test/debug.jl
Line 254 in 6031ed7
return
statement. Specifically, rather than just settingx
, it executes the entire macroJuliaInterpreter.jl/test/debug.jl
Lines 41 to 47 in 6031ed7
In other words, in Julia 1.12, "step-next" steps "over" the macro. There are some things I like about this behavior (it matches what the developer sees when looking at the code that calls the macro).
You might imagine that "step-in" would step into the macro, but that's not currently true: it steps into the implementation of
sin
. So it's definitely inconsistent. We could either make it behave the same as previous versions, or decide we like the idea of stepping into the macro and figure out how to get that working properly (it would be a breaking change).The text was updated successfully, but these errors were encountered: