question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Widget Inspector: buttons are not visible & widget tree hangs

See original GitHub issue

To explore the widget tree, opened the Widget Inspector. As see in the gif, most of the buttons are not visible (It was visible first time, but not when you mouse over it). They are there, and can select, but blend with the background. I tried default theme (dark & light), result is same.

As seen in the gif, if I expand the widget tree few times, it hangs and cannot select anything after (I closed and reopened after).

out

I see some error on the extension host logs. Not sure relevant.

[2020-12-18 13:50:27.996] [exthost] [info] ExtensionService#_doActivateExtension esbenp.prettier-vscode {"startup":false,"extensionId":{"value":"esbenp.prettier-vscode","_lower":"esbenp.prettier-vscode"},"activationEvent":"onStartupFinished"}
[2020-12-18 13:50:27.996] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/bsr/.vscode/extensions/esbenp.prettier-vscode-5.8.0/dist/extension
[2020-12-18 13:50:34.284] [exthost] [error] [Dart-Code.dart-code] provider FAILED
[2020-12-18 13:50:34.284] [exthost] [error] {"code":"GET_FIXES_INVALID_FILE","message":"Error during `edit.getFixes`: invalid file."}
[2020-12-18 13:51:22.609] [exthost] [warning] TextEditor is closed/disposed
[2020-12-18 13:52:05.284] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-server-ready {"startup":false,"extensionId":{"value":"vscode.debug-server-ready","_lower":"vscode.debug-server-ready"},"activationEvent":"onDebugResolve"}
[2020-12-18 13:52:05.284] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/debug-server-ready/dist/extension
[2020-12-18 13:52:30.046] [exthost] [warning] TextEditor is closed/disposed
[2020-12-18 13:55:44.018] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing {"startup":false,"extensionId":{"value":"vscode.configuration-editing","_lower":"vscode.configuration-editing"},"activationEvent":"onLanguage:jsonc"}

!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!

Dart Code extension: 3.17.1
Flutter extension: 3.17.0 (activated)

App: Visual Studio Code
Version: 1.52.1
Platform: mac

Workspace type: Dart, Flutter
Analyzer type: DAS
Multi-root?: false

Dart SDK:
    Loc: /Users/bsr/work/sdk/flutter/bin/cache/dart-sdk
    Ver: 2.12.0-141.0.dev
Flutter SDK:
    Loc: /Users/bsr/work/sdk/flutter
    Ver: 1.26.0-1.0.pre

HTTP_PROXY: undefined
NO_PROXY: 127.0.0.1

Logging Categories:
    General, CommandProcesses, VmService, DevTools, FlutterDaemon, FlutterRun, FlutterTest, PubTest, WebDaemon

Fri Dec 18 2020 [15:09:39 GMT-0500 (Eastern Standard Time)] Log file started
[3:09:45 PM] [General] [Info] Using only available debug session
[3:09:45 PM] [General] [Info] Exposing URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:09:45 PM] [General] [Info] Mapping URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:09:45 PM] [General] [Info] Mapped URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:09:45 PM] [General] [Info] Final URI: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:09:45 PM] [General] [Info] Final URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:09:48 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ServiceExtensionStateChanged","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322188069,"extensionData":{"extension":"ext.flutter.inspector.structuredErrors","value":true}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":3,"startTime":240290276168,"elapsed":31888,"build":16631,"raster":12487,"vsyncOverhead":2722}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":4,"startTime":240290307157,"elapsed":8663,"build":5908,"raster":2304,"vsyncOverhead":378}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":5,"startTime":240290323830,"elapsed":14830,"build":13074,"raster":1291,"vsyncOverhead":384}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":6,"startTime":240290340226,"elapsed":7833,"build":6375,"raster":1291,"vsyncOverhead":113}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":7,"startTime":240290357453,"elapsed":3455,"build":1663,"raster":1055,"vsyncOverhead":674}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":8,"startTime":240290373546,"elapsed":2993,"build":1862,"raster":969,"vsyncOverhead":100}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197638,"extensionData":{"number":9,"startTime":240290390434,"elapsed":4117,"build":2879,"raster":839,"vsyncOverhead":321}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197743,"extensionData":{"number":10,"startTime":240290406826,"elapsed":4003,"build":2157,"raster":1449,"vsyncOverhead":47}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197743,"extensionData":{"number":11,"startTime":240290463957,"elapsed":42862,"build":1237,"raster":996,"vsyncOverhead":40511}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197743,"extensionData":{"number":12,"startTime":240290484905,"elapsed":13874,"build":1250,"raster":1107,"vsyncOverhead":11459}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197743,"extensionData":{"number":13,"startTime":240290492674,"elapsed":9989,"build":6094,"raster":1184,"vsyncOverhead":2561}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197743,"extensionData":{"number":14,"startTime":240290506937,"elapsed":3053,"build":1771,"raster":1029,"vsyncOverhead":158}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197858,"extensionData":{"number":15,"startTime":240290523849,"elapsed":3427,"build":1372,"raster":1601,"vsyncOverhead":403}}}}
[3:09:57 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322197858,"extensionData":{"number":16,"startTime":240290540817,"elapsed":4580,"build":1948,"raster":1495,"vsyncOverhead":704}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198075,"extensionData":{"number":17,"startTime":240290740211,"elapsed":2267,"build":1220,"raster":898,"vsyncOverhead":98}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198075,"extensionData":{"number":18,"startTime":240290776197,"elapsed":5528,"build":1824,"raster":901,"vsyncOverhead":2751}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198075,"extensionData":{"number":19,"startTime":240290809534,"elapsed":8569,"build":4719,"raster":1039,"vsyncOverhead":2755}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":20,"startTime":240290840865,"elapsed":4105,"build":2475,"raster":847,"vsyncOverhead":752}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":21,"startTime":240290873491,"elapsed":7449,"build":6350,"raster":986,"vsyncOverhead":45}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":22,"startTime":240290890893,"elapsed":3479,"build":1323,"raster":1301,"vsyncOverhead":780}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":23,"startTime":240290909486,"elapsed":5159,"build":1546,"raster":830,"vsyncOverhead":2707}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":24,"startTime":240290926125,"elapsed":5751,"build":1673,"raster":1329,"vsyncOverhead":2679}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198176,"extensionData":{"number":25,"startTime":240290942796,"elapsed":4657,"build":1139,"raster":791,"vsyncOverhead":2683}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":26,"startTime":240290959480,"elapsed":4686,"build":1063,"raster":880,"vsyncOverhead":2701}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":27,"startTime":240290976179,"elapsed":4977,"build":1232,"raster":959,"vsyncOverhead":2733}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":28,"startTime":240290992812,"elapsed":5191,"build":1371,"raster":1037,"vsyncOverhead":2699}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":29,"startTime":240291009478,"elapsed":4531,"build":1034,"raster":736,"vsyncOverhead":2699}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":30,"startTime":240291026156,"elapsed":4962,"build":1210,"raster":1001,"vsyncOverhead":2710}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":31,"startTime":240291042805,"elapsed":5345,"build":1143,"raster":1468,"vsyncOverhead":2692}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198293,"extensionData":{"number":32,"startTime":240291059458,"elapsed":4564,"build":994,"raster":853,"vsyncOverhead":2679}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198410,"extensionData":{"number":33,"startTime":240291076132,"elapsed":5123,"build":1239,"raster":1153,"vsyncOverhead":2686}}}}
[3:09:58 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322198410,"extensionData":{"number":34,"startTime":240291092797,"elapsed":3971,"build":506,"raster":741,"vsyncOverhead":2684}}}}
[3:10:04 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Debug","event":{"type":"Event","kind":"Inspect","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322204110,"inspectee":{"type":"@Instance","class":{"type":"@Class","fixedId":true,"id":"classes/4315","name":"StatelessElement"},"kind":"PlainInstance","id":"objects/22"}}}}
[3:10:04 PM] [FlutterRun] [Info] [Demo - macos] ==> [{"id":"6","method":"app.callServiceExtension","params":{"appId":"fe182d65-a2fa-4eac-9c19-fdf9458e2aa7","methodName":"ext.flutter.inspector.getSelectedSummaryWidget","params":{"previousSelectionId":null,"objectGroup":"my-group"}}}]
[3:10:04 PM] [FlutterRun] [Info] [Demo - macos] <== [{"id":"6","result":{"result":{"description":"ProviderWrapper","type":"_ElementDiagnosticableTreeNode","style":"dense","hasChildren":true,"allowWrap":false,"objectId":"inspector-274","valueId":"inspector-7","locationId":3,"creationLocation":{"file":"file:///Users/bsr/work/xyz/lib/storyboard/app.dart","line":37,"column":12,"parameterLocations":[{"file":null,"line":38,"column":7,"name":"providers"},{"file":null,"line":39,"column":7,"name":"child"}]},"createdByLocalProject":true,"children":[{"description":"MultiProvider","type":"_ElementDiagnosticableTreeNode","style":"dense","hasChildren":true,"allowWrap":false,"objectId":"inspector-275","valueId":"inspector-9","locationId":4,"creationLocation":{"file":"file:///Users/bsr/work/xyz/lib/storyboard/app.dart","line":80,"column":12,"parameterLocations":[{"file":null,"line":81,"column":7,"name":"providers"},{"file":null,"line":82,"column":7,"name":"child"}]},"createdByLocalProject":true,"widgetRuntimeType":"MultiProvider","stateful":false}],"widgetRuntimeType":"ProviderWrapper","stateful":false},"type":"_extensionType","method":"ext.flutter.inspector.getSelectedSummaryWidget"}}]
[3:10:04 PM] [FlutterRun] [Info] [Demo - macos] ==> [{"id":"7","method":"app.callServiceExtension","params":{"appId":"fe182d65-a2fa-4eac-9c19-fdf9458e2aa7","methodName":"ext.flutter.inspector.disposeGroup","params":{"objectGroup":"my-group"}}}]
[3:10:04 PM] [FlutterRun] [Info] [Demo - macos] <== [{"id":"7","result":{"result":null,"type":"_extensionType","method":"ext.flutter.inspector.disposeGroup"}}]
[3:10:20 PM] [General] [Info] Using only available debug session
[3:10:20 PM] [General] [Info] Exposing URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:10:20 PM] [General] [Info] Mapping URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:10:20 PM] [General] [Info] Mapped URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:10:20 PM] [General] [Info] Final URI: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:10:20 PM] [General] [Info] Final URL: http://127.0.0.1:57738/wWkfzYUmAtY%3D/
[3:10:23 PM] [VmService] [Info] [Demo - macos] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ServiceExtensionStateChanged","isolate":{"type":"@Isolate","id":"isolates/608194226270563","name":"main","number":"608194226270563","isSystemIsolate":false},"timestamp":1608322223989,"extensionData":{"extension":"ext.flutter.inspector.structuredErrors","value":true}}}}
Fri Dec 18 2020 [15:11:10 GMT-0500 (Eastern Standard Time)] Log file ended

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Jan 6, 2021

Is there a way to force the window confirm?

Not easily through DevTools (unless you can repro this issue there), though it could be done with a static HTML page. I created a gist that just calls confirm then alert, so if you made JXBrowser load this URL:

http://htmlpreview.github.io/?https://gist.githubusercontent.com/DanTup/ebe22b664252ac6affca27c5ee52fcc7/raw/1fa864acc5c07856b156f271d596ac92aee14672/test.html

It should show if it works. However, I think I found the answer:

https://jxbrowser.support.teamdev.com/support/solutions/articles/9000013061-javascript-dialogs

By default JxBrowser doesn’t display JavaScript dialogs and use silent mode where all dialogs are automatically closed emulating behavior when user clicks Cancel button on the dialog.

So by default, it’s probably not showing the prompt (similar to VS Code). However it looks like it’s probably simple to use DefaultDialogHandler to make it show the dialogs - you can use the URL above to test DefaultDialogHandler is working as expected. Given that, it probably makes sense for me to try to stub the confirm function for VS Code - I’ll see if that’s possible.

1reaction
DanTupcommented, Dec 30, 2020

@jacob314 I can reproduce a similar issue here, where the images in the buttons all vanish, but the borders/text do not. Once, when I tried to interact with it, it looks like it loaded itself inside the tree on the left.

Screenshot 2020-12-30 at 11 45 16

I’m really not sure what’s happened there, though I was unable to reproduce. I do have some performance issues though - clicking around seems very slow at times.

I can’t reproduce these outside of VS Code though, so I’m not sure how to debug. I can’t get the Chrome dev tools for the embedded iframe. In theory, there shouldn’t be any difference (except maybe Chrome version, as VS Code will be using whatever Electron is currently based on).

Oh, also noticed these errors in the console:

Screenshot 2020-12-30 at 11 51 57
Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter Widget Inspector - Not displaying - Stack Overflow
Found the solution to my problem. I uncheck the "Languages & Framework -> Fluttter -> Enable embedding DevTools in the Flutter Inspection tool...
Read more >
Using the Flutter inspector
The Flutter widget inspector is a powerful tool for visualizing and exploring Flutter widget trees. The Flutter framework uses widgets as the core...
Read more >
Debugging Layout Issues Using the Widget Inspector
In this article, you'll see how layouts are constructed as well as learn about the Widget Inspector and how to use it to...
Read more >
How to debug layout issues with the Flutter Inspector - Medium
Check the error message on the debug console to identify the error type and error-causing widget. · Open the Layout Explorer to visualize...
Read more >
TextView - Android Developers
android:enabled, Specifies whether the widget is enabled. ... refers to a view that does not exist or is part of a hierarchy that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found