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

Trying to set breakpoints in reference-backed source files throws #1566

Closed
DanTup opened this issue Mar 28, 2019 · 0 comments
Closed

Trying to set breakpoints in reference-backed source files throws #1566

DanTup opened this issue Mar 28, 2019 · 0 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Mar 28, 2019

This happens because we assume source.path is set in a breakpoint request.

rejected promise not handled within 1 second: TypeError: Cannot read property 'replace' of undefined
stack trace: TypeError: Cannot read property 'replace' of undefined
	at Object.formatPathForVm (/Users/dantup/Dev/Dart-Code/out/src/debug/utils.js:75:17)
	at DartDebugSession.<anonymous> (/Users/dantup/Dev/Dart-Code/out/src/debug/dart_debug_impl.js:431:27)
	at Generator.next (<anonymous>)
	at __awaiter (/Users/dantup/Dev/Dart-Code/out/src/debug/dart_debug_impl.js:7:71)
	at new Promise (<anonymous>)
	at __awaiter (/Users/dantup/Dev/Dart-Code/out/src/debug/dart_debug_impl.js:3:12)
	at DartDebugSession.setBreakPointsRequest (/Users/dantup/Dev/Dart-Code/out/src/debug/dart_debug_impl.js:421:16)
@DanTup DanTup added is bug in debugger Relates to the debug adapter or process of launching a debug session labels Mar 28, 2019
@DanTup DanTup added this to the v2.26.0 milestone Mar 28, 2019
@DanTup DanTup closed this as completed in a4cff03 Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug
Projects
None yet
Development

No branches or pull requests

1 participant