File tree Expand file tree Collapse file tree 5 files changed +10
-3
lines changed
Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11name : mv3_extension
22publish_to : none
3- version : 2.1.2
3+ version : 2.1.3
44homepage : https://github.com/dart-lang/webdev
55description : >-
66 A Chrome extension for Dart debugging.
Original file line number Diff line number Diff line change @@ -205,6 +205,10 @@ Future<void> _sendInspectorUrl({String? appId}) async {
205205}
206206
207207int _tabId (String appId) {
208+ // The suffix "-f" is used to tell Cider that this is a Flutter app.
209+ if (appId.endsWith ('-f' )) {
210+ appId = appId.substring (0 , appId.length - 2 );
211+ }
208212 final tabId = appId.split ('-' ).last;
209213 return int .parse (tabId);
210214}
Original file line number Diff line number Diff line change 11{
22 "name" : " Dart Debug Extension" ,
3- "version" : " 2.1.2 " ,
3+ "version" : " 2.1.3 " ,
44 "manifest_version" : 3 ,
55 "devtools_page" : " static_assets/devtools.html" ,
66 "action" : {
Original file line number Diff line number Diff line change @@ -90,9 +90,11 @@ Future<bool> _insertAppId() async {
9090 final debugInfo = await _fetchDebugInfo (tabId);
9191 if (debugInfo == null ) return false ;
9292 final isInternalBuild = debugInfo.isInternalBuild ?? false ;
93+ final isFlutterApp = debugInfo.isFlutterApp ?? false ;
9394 final workspaceName = debugInfo.workspaceName;
9495 if (isInternalBuild && workspaceName != null ) {
95- _appId = '$workspaceName -$tabId ' ;
96+ // The suffix "-f" is used to tell Cider that this is a Flutter app.
97+ _appId = '$workspaceName -$tabId ${isFlutterApp ? '-f' : '' }' ;
9698 final appIdSpan = document.getElementById (_appIdSpanId) as SpanElement ;
9799 appIdSpan.setInnerHtml (_appId);
98100 return true ;
Original file line number Diff line number Diff line change @@ -515,6 +515,7 @@ ${globalToolConfiguration.loadStrategy.loadModuleSnippet}("dart_sdk").developer.
515515 throw RPCError (
516516 method,
517517 decodedResponse['code' ] as int ,
518+ // ignore: avoid-unnecessary-type-casts
518519 decodedResponse['message' ] as String ,
519520 decodedResponse['data' ] as Map ,
520521 );
You can’t perform that action at this time.
0 commit comments