-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Add a new plugin to explore frames while debugging #11186
Conversation
1abcdfb
to
21b0ae9
Compare
943355d
to
7d25ba0
Compare
I have added an option to investigate a segmentation fault with faulthandler |
f7f1cd7
to
9d1055e
Compare
Needs ipython/ipython#12445 for the tests to pass |
…com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "cd3edade9" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "comm_socket_thread" commit: "cd3edade9" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
…com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "cd3edade9" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "comm_socket_thread" commit: "cd3edade9" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
b770e0f
to
c55b1cb
Compare
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.
Thanks a lot for your work on this @impact27! Most of my comments are stylistic, the rest looks pretty good to me.
Also, please remove the commits you added here to fix the failures with Numpy 1.23.
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
…spyder-ide/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "29fc3bc40" upstream: origin: "https://github.com/spyder-ide/spyder-kernels.git" branch: "master" commit: "29fc3bc40" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
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.
Thanks for quick response @impact27! Last comments, then this should be ready.
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
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.
Thanks @impact27 for this addition! It's a great improvement!
Description of Changes
Add a plugin to show current frame
I have added a plugin that allows one to visudalise where all threads are. This can be useful to see where the execution is or to debug a deadlock.
Here, a deadlock renders the shell unresponsive. I can ask the shell where it is currently executing.
Here, I am debugging, and can use the frames explorer to explore the stack. By clicking in the frames explorer,
up
anddown
commands will automatically be sent to the debugger.Here, an error occurs and it is displayed in the frames explorer
Issue(s) Resolved
Fixes #16013
Fixes #11177
Fixes #5205
Fixes #1613
Depends on #16661
Depends on spyder-ide/spyder-kernels#171
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: impact27