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

How to enter debug mode again after changing a variable in REPL? #253

Closed
friederikemeier opened this issue Jun 5, 2020 · 3 comments · Fixed by #254
Closed

How to enter debug mode again after changing a variable in REPL? #253

friederikemeier opened this issue Jun 5, 2020 · 3 comments · Fixed by #254

Comments

@friederikemeier
Copy link

Hi!

I am really stuck and just hope, someone will answer my dumb question.
I am trying to debug in julia for the first time... I'm an engineer and not used to using the console that much.

So I watched this debugger demo:
https://www.youtube.com/watch?v=SU0SmQnnGys

It took me a lot of further googling to realize that he uses a ` to get from the debug mode to normal mode, in order to change a variable.
Now that he's changed the variable, he uses a magic trick to enter debug mode again...

I would like to know, how he does it?
Thanks a lot already to anyone reading this and hopefully answering?

@friederikemeier
Copy link
Author

friederikemeier commented Jun 5, 2020

Ok, accidentally found the answer.. How is this such a hidden information?

I used backspace.

May this help the next one!
Funny how hitting the keyboard randomly helped :)

@timholy timholy reopened this Jun 5, 2020
timholy added a commit that referenced this issue Jun 5, 2020
Includes how one exits eval mode. Fixes #253.
@timholy
Copy link
Member

timholy commented Jun 5, 2020

Thanks for reporting this, @friederikemeier! I've reopened this because I agree it needs to be better documented. See if the pull request in #254 helps. (If you're unfamiliar with GitHub, click on "Files changed" to see what I changed.)

If you notice more of these issues, please submit more issues or add improvements of your own. The way I made that change was to navigate to the Debugger.jl home page, entered the src directory and then the commands.jl file, and clicked the pencil icon. More docs are here. Any of your changes will be vetted by a developer before being merged, so you can't possibly break anything.

KristofferC pushed a commit that referenced this issue Jun 7, 2020
* Expand documentation for eval mode

Includes how one exits eval mode. Fixes #253.
@friederikemeier
Copy link
Author

Thank you so much! This will definitely help the next one!
And actually I didn't know I could edit files on github without forking the repo, also nice new knowledge :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants