inducer / inducer/pudb

AttributeError: 'CaptureManager' object has no attribute 'suspendcapture'

Open
#285 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

Suddenly hitting this exception:

`AttributeError: 'CaptureManager' object has no attribute 'suspendcapture'`

when trying to set a breakpoint with `import pudb; pudb.set_trace()`, although exactly the same result with `from pudb import set_trace; set_trace()`. Using `2017.1.4`. No problem with `pdb`, `pdbpp`, etc.

I get the feeling something else might have changed in my environment somehow because I've never had an issue with `pudb` before.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the exception through the reported pudb.set_trace() entry point using version 2017.1.4, then inspect how CaptureManager is involved in the breakpoint path. Done means setting a breakpoint no longer raises AttributeError for the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.