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

Enhancement #33

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Enhancement #33

wants to merge 4 commits into from

Conversation

kangshugang
Copy link
Contributor

Made the following enhancements:

  1. Add variables watch feature
  2. Add call stack view and navigation feature
  3. Add a break point toggle button, which works before and after the debugging started.
    i.e. Enable turn on/off break points at running time.
  4. Turn on / off the input boxes for arguments and debugging commands.

@dpo dpo mentioned this pull request Oct 14, 2017
@@ -72,6 +72,7 @@ class PythonDebuggerView extends View
@stopApp() if @backendDebugger
@debuggedFileArgs = @getInputArguments()
console.log @debuggedFileArgs
@debuggedFileName = @getCurrentFilePath()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the following if be removed and replaced with a call to askForPaths() then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is adding the last line, which set the file to debug as the current active file.

The if is to check whether we need to stop the debugging (if the debugger is already running). This is the original code. It has nothing to do with the change.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I'm saying is that, because you set debuggedFileName, the next if will never be active (pathsNotSet() will always return false).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I misunderstood your comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is up to you incorporate the changes. I am happy, as long as it works. :-)

This was referenced Nov 6, 2017
@dpo
Copy link
Owner

dpo commented Nov 7, 2017

I think I finally made it through your code. I created a few separate pull requests to merge it in so as to keep changes self-contained. I'm very grateful for your work and contribution! Many thanks! Next time, I'll probably be able to merge faster if you send a few small pull requests instead of a large single pull request.

I haven't yet merged the change related to the callstack. I think it's very worthy and I'd like to add it, but currently the output related to the callstack clobbers other output from the debugger.

@kangshugang
Copy link
Contributor Author

kangshugang commented Nov 7, 2017 via email

@dpo
Copy link
Owner

dpo commented Nov 7, 2017

I now realize that I haven't yet gone over your new panels implementation. That looks very exciting. I'll definitely find some time to look at it carefully later this week!

@luzpaz
Copy link

luzpaz commented Nov 20, 2018

@dpo any progress on this. This PR looks very promising.

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 this pull request may close these issues.

None yet

3 participants