Skip to content
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

[BUG] Debugger pane does not seem to work #321

Closed
TorkelE opened this issue Jul 2, 2019 · 5 comments
Closed

[BUG] Debugger pane does not seem to work #321

TorkelE opened this issue Jul 2, 2019 · 5 comments
Labels

Comments

@TorkelE
Copy link

TorkelE commented Jul 2, 2019

Details

  • Atom version: 1.37.0
  • Julia version: 1.1.1
  • OS: Ubuntu 18
  • Package versions:
    • Atom.jl: v0.8.7
    • Juno v0.7.0
    • Debugger v0.5.0
    • julia-client: (Unable to find instruction on how to determine this)
    • ink: (Unable to find instruction on how to determine this)

Steps to reproduce

  1. Click "Show Debugger Pane" to the left to get it to show up.
  2. Write using Debugger into the console
  3. Write Juno.@enter split("Hello, world", isspace) into the console
  4. Write o to get the util.jl window to show up.
  5. Press any of the blue bottons in the Debugger Pane.
  6. A red window saying "You need to be debugging to do that." shows up
    (I am basically following the instructions in https://docs.junolab.org/latest/man/debugging/)
    Here I think I have entered the debugger, but that does not seem to be the case, probably it is I that have done something wrong, but I do believe I have followed the instructions correctly.
    debugger_error
@TorkelE TorkelE added the bug label Jul 2, 2019
@pfitzseb
Copy link
Member

pfitzseb commented Jul 2, 2019

You're not supposed to use Debugger.jl at all, which is why the docs explicitly mention Juno.@enter.

So instead leave out steps 2 and 4 and actually do what you said you're doing in step 3, and you should be good to go.

@pfitzseb pfitzseb closed this as completed Jul 2, 2019
@TorkelE
Copy link
Author

TorkelE commented Jul 3, 2019

Thank you,
I have also tried simply entering Juno.@enter split("Hello, world", isspace) (full text, including the Juno. in the beginning) into the Juno Console. However, nothing happens. I've waited for several minutes and the screen still looks like this:
debugger_error_2
From here I've tried to writing o and n, or click on the buttons in the debugger pane, to no avail.

@pfitzseb
Copy link
Member

pfitzseb commented Jul 3, 2019

Can you go to the Atom settings and take a look at the Packages tab? You should see julia-client and ink under the Community Packages header, complete with version numbers. If there's an update button for either of those packages then use that or type apm update into a terminal.

@pfitzseb pfitzseb reopened this Jul 3, 2019
@TorkelE
Copy link
Author

TorkelE commented Jul 3, 2019

I updated both packages and now it works well.
Thanks a lot.

@pfitzseb
Copy link
Member

pfitzseb commented Jul 3, 2019

Cool, glad that this is solved now.

@pfitzseb pfitzseb closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants