Skip to content

Paths in Debug Console output are not linked #39063

@DanTup

Description

@DanTup

Raised in Dart-Code/Dart-Code#451; filenames in the debug console don't seem to be being linked. I've tried a bunch of different formats/categories to try and make this work, but none seem to:

this.sendEvent(new OutputEvent(`Danny3 (lib/test.dart:1:1)\n`, "stdout"));
this.sendEvent(new OutputEvent(`Danny3 (lib/test.dart:1:1)\n`, "console"));
this.sendEvent(new OutputEvent(`Danny3 (lib/test.dart:1:1)\n`, "stderr"));
this.sendEvent(new OutputEvent(`Danny3 lib/test.dart:1:1\n`, "stdout"));
this.sendEvent(new OutputEvent(`Danny3 lib/test.dart:1:1\n`, "console"));
this.sendEvent(new OutputEvent(`Danny3 lib/test.dart:1:1\n`, "stderr"));
this.sendEvent(new OutputEvent(`Danny3 ./lib/test.dart:1:1\n`, "stdout"));
this.sendEvent(new OutputEvent(`Danny3 ./lib/test.dart:1:1\n`, "console"));
this.sendEvent(new OutputEvent(`Danny3 ./lib/test.dart:1:1\n`, "stderr"));

screen shot 2017-11-23 at 22 11 41

The file does exist relative to the workspace root, though from what I've read in related cases, it seems that you no longer do fs.stat when deciding to link. I've found many cases suggesting there have been improvements/fixes to this and screenshots showing it working, so I'm not sure what's different about ours.

Are the rules about what formats are detected documented anywhere for me to check? If not, what's the best way to debug?

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions