-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kwargs are annoying in the debugger #141
Comments
We already try to skip the "kwprep" (the setup before a kwarg call) but perhaps we miss some cases. This would be easier to start working on if the function (ideally a MWE) was available to step through. |
You sure you're on the latest versions of Debugger and JuliaInterpreter, @Keno? The REPL snippet looks like it's from a pretty old version. |
Yeah, it doesn't show the line number indicator which was added quite a while back. |
Also prints the |
Indeed, looks like my check out was old in this project. Will try again with master. |
Same stepping behavior on master. FWIW, the thing I'm stepping through is JuliaLang/julia#31439 (step into optimize!, optimize!, attach_optimizer, and that's where the call to copy_to is that starts above transcript). |
Could you get to the beginning of the trouble and then hit |
|
A little farther forward please. You're starting to match this pattern but we need to see 15 and 16. |
|
OK, that's the problem; the I will fix. Can I ask if fixing JuliaLang/julia#31073 is on your radar? (It was caused by your PR JuliaLang/julia#28707.) We've come up with a workaround for Base and the stdlibs, but any package that explicitly |
This happens when the call is module-scoped. Fixes JuliaDebug/Debugger.jl#141
This happens when the call is module-scoped. Fixes JuliaDebug/Debugger.jl#141
Here's a transcript of what I had to do to get through a bunch of kwargs:
I'm not really sure what the best thing to do here is. Perhaps we should by default automatically skip any builtins (and maybe other calls inserted by the kwarg lowering). At the very least, this transcript shows that this causes some problems.
The text was updated successfully, but these errors were encountered: