Skip to content
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

"Weird termination bug" occurring inconsistently. #44

Open
jaccarmac opened this issue Aug 18, 2022 · 3 comments
Open

"Weird termination bug" occurring inconsistently. #44

jaccarmac opened this issue Aug 18, 2022 · 3 comments

Comments

@jaccarmac
Copy link

As I hinted at in #22 (comment), my use of breakpoint() to enter the debugger seems to be causing a strange error on termination. It seems similar to the issue fixed in 68474af, as it points at a tracer.py line with inspect.currentframe with an AttributeError for that access. No such error appears if I debug using the trepan3k binary.

@jaccarmac
Copy link
Author

The traceback seems to be related to where exactly I break (I only have a very rough idea so far, but breaking early seems to cause it).

The code appears to be visiting both logging/__init__.py in my global Python install and tracer.py in the virtual environment.

@rocky
Copy link
Owner

rocky commented Aug 18, 2022

I have notice problems in not proper package namespace isolation in one of the packages, but I never had the time to track down or fix. And it might be something altogether different.

Overall nowadays, even though I use these debuggers personally a lot, I don't have time to it the attention it deserves. But it is open source so that means if others want to investigate or contribute they have full reign to do so.

@jaccarmac
Copy link
Author

Understood. I tend to throw these issues up as much as engineering notebook entries for myself as requests for help (though since it doesn't seem to break debugging it might languish in my list of priorities, too!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants