-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
VS Code cannot breakpoint 3rd party Python code in Jupyter Notebook #164178
Labels
*caused-by-extension
Issue identified to be caused by an extension
Comments
Please try in the latest Insiders vscode build, with the latest pre-release Jupyter extension, this was only just implemented microsoft/vscode-jupyter#8146 |
roblourens
added
the
*caused-by-extension
Issue identified to be caused by an extension
label
Oct 22, 2022
Thank you roblourens! |
@PeterM18 |
Hi: I'm using VSCode as part of the MX Linux repository. More recent
versions of Code are not tested with MX Linux and would require special
upkeep because updates won't automatically be detected and installed, I
imagine, and add-ons would likely need to be reinstalled. Because I don't
yet much need to step through 3rd party code and can work around that issue
by extracting NB code into a .py file, which does allow me to step through,
I have not yet sought to fix the problem with a new version of MSCode.
There may come a point where that takes too long.
Peter
…On Fri, Nov 4, 2022 at 9:58 AM vickkot ***@***.***> wrote:
@PeterM18 <https://github.com/PeterM18>
Hi, did you manage to get it working?
If yes, could you please tell me what vscode version you used?
Thanks
—
Reply to this email directly, view it on GitHub
<#164178 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQVBQJ25YZFU4OJCOPU74MDWGUQC5ANCNFSM6AAAAAARKQG7RU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@PeterM18 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One of my main uses for a debugger is to step through parts of new libraries to better understand how they work and how to use them. But, my current install of VS Code refuses to let me set breakpoints or step through 3rd party libraries when I am in Jupyter Notebooks--where almost all my code is. I get a 'Breakpoint in file excluded by filters' error.
I've looked through everything I could find online about this problem, and nothing I've tried has worked. I have:
If I extract the code from Jupyter Notebook, put it in a .py file, I have no problem stepping through the 3rd party code. So, there's a filter being applied only when I 'debug cell' in a Jupyter Notebook. But, as I've mentioned, I've set the 'Debug Just My Code' for jupyter to false in both User and Workspace. I am at a loss for what other switches I can throw or configuration files I can alter.
The text was updated successfully, but these errors were encountered: