Disabling "justMyCode" does not allow me to step into stdlib functions #2103
Comments
@calebho Can you share the lines from the Python Output panel? |
I am also getting exceptions when justMyCode is disabled :
It works fine when justMyCode is set to true.
|
@calebho try the same thing after adding this to your user settings:
This should use the newer version of the debugger that should handle @Aniket-Singla This is unrelated to what you are seeing. Thanks for creating a separate issue. |
I too am experiencing a similar issue, using a Django project. This was working as expected, and a recent update caused it to not be respecting the what is in my launch.json
If I set a breakpoint in my code base, and try to step into a django lib call, I get the error
This is from the VSCode console
VS Code version: 1.42.1
|
Yeah sure @karthiknadig:
|
I don't think import os
def test_main():
os.listdir() # set breakpoint here Nothing changes if I add the setting you suggested to my user settings |
I have found a workaround: Adding
|
This should be fixed by microsoft/debugpy@6b335f1 |
As noted, until a new release is done, the workaround is using |
This workaround worked for me. |
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version vscode-python#3977): Jedipython.languageServer
setting: MicrosoftExpected behaviour
Debugger steps into standard library function
Actual behaviour
Debugger steps over standard library function
Steps to reproduce:
I think this is similar to microsoft/vscode-python#7347 so I'm copying the repro steps except for
launch.json
launch.json
(note that I tried with and without"console": "integratedTerminal"
):test_main.py
:pytest
as the testing frameworktest_main
subprocess.call
callLogs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: