When JustMyCode Disabled, the breakpoint does not automatically stop at the script exception
joon612 opened this issue · 7 comments
joon612 commented
When justMyCode
is false in launch.json
, the breakpoint does not automatically stop at the script exception. And if the break point is set, it doesn't stop there.
(env) PS C:\Users\user> conda --version
conda 24.5.0
(env) PS C:\Users\user> python -V
Python 3.9.19
(env) PS C:\Users\user> code --version
1.91.1
f1e16e1e6214d7c44d078b1f0607b2388f29d729
x64
rchiodo commented
This looks like another case for this issue here:
microsoft/vscode#214433
The exception is being hit but VS code is not showing the callstack.
rchiodo commented
I can't reproduce the issue though.
I used this code:
import json
import sys
from pathlib import Path
def main():
input_path = Path(r"/non-existent-path")
print(list(input_path.rglob("*.whl"))[1])
main()
And tried it with justMyCode by true and false. I get the exception in both cases.
rchiodo commented
rchiodo commented
rchiodo commented
That path seems to be invalid. Not sure why.
rchiodo commented
Oh that's because that's the error. The issue is in VS code. It seems to be another symptom of the original issue. Closing this one again.
Here's the logs for when this reproduces:
joon612 commented