Comments (4)
Ah, I see. The docs for getFlagList()
say:
The getFlagList RPC returns a list of all command line flags in the VM along with their current values.
I don't know if it's reasonable for web to have all the CLI flags in there, but if web has behaviour for pause-on-start/exit then probably it should at least include those there (and with the correct values that were set).
from sdk.
@elliette I'm not sure I understand why this doesn't work. Wouldn't they be set during the loop?
We enumerate the flags (which comes from getFlagList() and includes all flags), then when we find pauseOnStart/pauseOnExit, the condition on line 857 is false (the name is not null and it is a pause-isolates flag) so we carry on. The condition on 859 is false (the flag is not already true), so we fall into 867 which calls _setVmflagTo
(and the booleans like pauseIsolatesOnStartSetByDap
defaulted to true so already match)?
(maybe it'll be clearer when I see your fix though :-) )
from sdk.
Hmm in g3 this call to getFlagList
is returning an empty list:
sdk/pkg/dds/lib/src/dap/adapters/dart.dart
Line 852 in 238a29d
from sdk.
Hmm in g3 this call to
getFlagList
is returning an empty list:sdk/pkg/dds/lib/src/dap/adapters/dart.dart
Line 852 in 238a29d
So maybe the right fix is to implement this in DWDS
from sdk.
Related Issues (20)
- [ddc] Error messages no longer appearing when running apps in Chrome
- [CP] [dart2wasm] Make `dart compile wasm` accept --enable-experiment flags and pass those to compiler HOT 4
- [CP] [dart2wasm] Only share type parameter fields if nullability allows HOT 2
- Path and FileSystemEntity in Dart HOT 7
- Can't find any official documentation on configurable imports HOT 3
- Configurable imports with prefixes doesn't work as expected HOT 2
- {UpDate_tools}~Free V-Bucks code Fortnite Codes 2024-2025 Fortnite free reward HOT 1
- fromEnvironment broken when compiling to javascript HOT 1
- [Issue removed]
- dart2wasm --debug flag not working HOT 2
- Records returned from sync methods marked as async are wrong HOT 5
- [wildcards] produce a warning on wildcard variables.
- Analyzer Feedback from IntelliJ
- [analysis_server/lsp] no type hint when hovering over `error` and `stackTrace` in catch clauses HOT 2
- Hover shows static type ("Never") for `throw` and `rethrow` but not types for "return" or "yield" HOT 8
- Macros: resolveIdentifier does not resolve identifiers exported from other libraries HOT 4
- [frontend_server] frontend_server.dart.snapshot missing from 3.5.0-180.2 beta SDK HOT 2
- There is No suggestions for typedef of classes with factory constructors when use `Foo.<Here Trigger Suggestion>()`;
- Improve String handling in Dart for native platforms HOT 1
- Analyser reports no issues for erroring dart program [records] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.