Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dwds/lib/src/debugging/inspector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,11 @@ function($argsString) {
///
/// Currently this implements the 'PossibleBreakpoints' report kind.
Future<SourceReport> getSourceReport(String isolateId, List<String> reports,
{String scriptId, int tokenPos, int endTokenPos, bool forceCompile}) {
{String scriptId,
int tokenPos,
int endTokenPos,
bool forceCompile,
bool reportLines}) {
checkIsolate('getSourceReport', isolateId);

if (reports.contains(SourceReportKind.kCoverage)) {
Expand Down
6 changes: 4 additions & 2 deletions dwds/lib/src/services/chrome_proxy_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -574,13 +574,15 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(
{String scriptId,
int tokenPos,
int endTokenPos,
bool forceCompile}) async {
bool forceCompile,
bool reportLines}) async {
await isInitialized;
return _inspector?.getSourceReport(isolateId, reports,
scriptId: scriptId,
tokenPos: tokenPos,
endTokenPos: endTokenPos,
forceCompile: forceCompile);
forceCompile: forceCompile,
reportLines: reportLines);
}

/// Returns the current stack.
Expand Down
2 changes: 1 addition & 1 deletion dwds/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies:
source_maps: ^0.10.0
sse: ^4.1.0
# We pin the version because we implement the interface.
vm_service: 7.2.0
vm_service: 7.3.0
web_socket_channel: ^2.0.0
webkit_inspection_protocol: ^1.0.0

Expand Down