Discussion:
[dart-misc] (Observatory/Debugger) how best to setLibraryDebuggable:false for all libraries?
Danny Tuppeny
2016-09-04 08:15:18 UTC
Permalink
I'd like to add an option to Dart Code that lets the user opt-in/out of
libraries being considered debuggable (the default behaviour is that they
are, which I find rather annoying when debugging).

From the spec
<https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md>
I can see there's a setLibraryDebuggable call that takes a library ID, but
it's not clear of the best way to set this for all libraries.. For example,
there's a Library type listed there but I don't see where it's actually
returned - how can I get a list of all loaded libraries? And if they can be
lazy-loaded, how can I set them not-debuggable as they load?

(Also; I'm curious what people think the default should be for such an
option? I'm used to Visual Studio/C# which defaults to debugging "just my
code" and that seems like a reasonable default to me, but I don't know if
people except different from Dart?)
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...