Allow explicitly mark paths as library to exclude from 'justMyCode'
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing the existing PYDEVD_FILTERS and LIBRARY_ROOTS handling mentioned in the issue. Determine how an explicitly marked library path should affect exception stops while preserving stops in user code, then add or update coverage for third-party paths under the conda environment's shared directory.
Written by the indexing model from the issue text.
Description
Here's the situation: I'm debugging some Python code that relies on third-party libraries. The third-party libraries (unfortunately) are installed by a non-standard package manager and are under some subdirectory in the ./shared folder of the conda env. I'm trying to debug unit tests but the debugger constantly breaks into the third-party library on certain exceptions when the 'User Uncaught Exceptions' option is ticked. The exception in the third-party lib are actually handled by the standard lib somewhere so they never bubble up to my code, yet the debugger breaks every time. This is very annoying because I only want to break into the debugger on exception raised from my own code. I've tries setting PYDEVD_FILTERS and LIBRARY_ROOTS, that I found in the source code but neither worked.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 202
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/debugpy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in microsoft/debugpy
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·