-
Notifications
You must be signed in to change notification settings - Fork 13
Enhancement #33
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
base: master
Are you sure you want to change the base?
Enhancement #33
Conversation
@@ -72,6 +72,7 @@ class PythonDebuggerView extends View | |||
@stopApp() if @backendDebugger | |||
@debuggedFileArgs = @getInputArguments() | |||
console.log @debuggedFileArgs | |||
@debuggedFileName = @getCurrentFilePath() |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
).
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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. :-)
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. |
Dominique,
Thank you very much for your time and effort in reviewing me changes !!!
Actually, I was trying to use Atom as a python programming tool. Indeed, I
like Atom, and I like your python debugger. However, without the variable
watching function, it is not as convenient as other IDE tools. Basically, I
tried to enhance your python debugger to serve my own purposes. After the
modification, it works well for me now. Hopefully, these changes could also
benefit other people.
Sorry for committing several changes together. Actually, this is the first
time that I use GitHub. Thank you for your suggestions, in the future, if I
will make any changes, I will try to make small self-contained changes.
Thus, reviewing and merging the changes will be easier.
Thanks again and best regards,
Shugang
…On Mon, Nov 6, 2017 at 10:55 PM, Dominique ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASe-oNKcpZnTLidCZBwecBE2HHJuxjYoks5sz9TGgaJpZM4P5SOV>
.
--
Shugang Kang
Email: [email protected]
Phone: 614-214-2186
|
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! |
@dpo any progress on this. This PR looks very promising. |
Made the following enhancements:
i.e. Enable turn on/off break points at running time.