Stepping over fails in debugger with message Unable to open '<string>' FIle not found
See original GitHub issueGetting this error when debugging this file:
import typing
from dataclasses import dataclass, field
@dataclass
class Thing:
a: typing.Any
b: typing.Any
c: typing.Any = field(init=False, repr=False)
def __post_init__(self):
self.c = self.a + self.b
Thing(a=1, b=2)
If I set a breakpoint at the self.c =
line and then click ‘step over’, I see
Unable to open '<string>': File not found (file:///Users/malmaud/Dropbox (MIT)/Desktop/fun/<string>).
I guess this is related to https://github.com/Microsoft/vscode-python/issues/3063.
VSCode 1.29.1
Python 3.6.7 with dataclasses
package installed via pip install dataclasses
Extension 2018.10.1
Screenshot:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Stepping over fails in debugger with message Unable to ...
This is fixed. In cases such as dataclass , step-over should work. For step-in/out cases we currently show a temp file with message...
Read more >Running PHPUnit in debug mode gives 'Unable to open ' ...
It seems as if PHPUnittest, running from the PHPUnit-plugin, could not find the BaseTestRunner.php file and raised an exection.
Read more >Troubleshoot Breakpoints in the Visual Studio Debugger
"No Symbols have been loaded for this document". Go to the Modules window (Debug > Windows > Modules) and check whether your module...
Read more >Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Resolving problems when debugging message flows
Scenario: The message flow debugger does not pause at the next breakpoint ... Explanation: This error could be caused by a timing problem, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Me too. Let me know if you need any log files.
Fixed upstream (https://github.com/microsoft/ptvsd/issues/1071)