-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot set breakpoints if CWD is on a read-only FS #25
Comments
I am not aware of anything in the code I wrote that does this. However the debugger uses pyficache and that uses Ned Batchelder's coverage in order to figure out which line numbers are stoppable. I also think this is a recent thing since I've not encountered it in the past. So if you are up to it, perhaps you can look at coverage to see under what conditions it creates a The fix would probably be in the pyficache project. |
Yes, the issue appears to be in the way For now, in case anyone needs it, my workaround is to manually set |
I've revised pyficache so it no longer uses coverage. Release 1.0.1 I believe will no longer create the |
Something underneath the breakpoint mechanic appears to create a file called
.coverage
, and if this fails, the breakpoint cannot be set.The file does not seem to actually be required, though: by editing the code to skip it, I am able to set breakpoints successfully. So, the creation of the file ought to be optional; failure to create it should probably not be fatal.
The text was updated successfully, but these errors were encountered: