That's an interesting perspective (I assume from Visual Studio?). To be honest, until your email, I had never considered my own code and any libraries that I depend on as somehow separate and I've been debugging code for at least 10 years :-)
Most of the time I am debugging something to find a bug and bugs can appear anywhere; sometimes even in 3rd party code. So, I think it makes sense to step through all code that's in the path to fix a particular problem regardless if the code is mine or someone else's.
I would suggest instead of automatically isolating yourself from other people's code try:
1. Using step-over instead of step-into and then you can skip going into other people's code.2. If you are using a decent IDE: instead of stepping over every line just click the line you want to go to and then do "run to cursor".3. Use conditional breakpoints.I think mastering your IDE would be much more beneficial for long term productivity than trying to isolate yourself from other people's code which may actually have the bug you're looking for...
To be clear, I'm not asking for a feature here, I am implementing the IDE/debugger integration for Dart Code. I'm adding an option to support this feature; I'm just after opinions on what the default should be. If this concept is alien to all Dart devs, I'll leave the default as stepping through everything; it will definitely be an option in Dart Code though! :-)
On Fri, Sep 16, 2016 at 9:17 AM, Danny Tuppeny <da...@tuppeny.com> wrote:To be clear, I'm not asking for a feature here, I am implementing the IDE/debugger integration for Dart Code. I'm adding an option to support this feature; I'm just after opinions on what the default should be. If this concept is alien to all Dart devs, I'll leave the default as stepping through everything; it will definitely be an option in Dart Code though! :-)Since Dart hasn't been around that long I think many of us are bringing our habits from other languages. In my case that would be Python. I've only been working with Dart full time for last two years (using an IntelliJ based IDE). There is probably not going to be a single "dart developer" profile/default that would make sense here.
On the other hand... since you are implementing plugin for Visual Studio then I think it's relatively safe to assume that other developers using your plugin maybe more familiar with Visual Studio defaults in C# than what I or another non-VS user may be familiar with.It would probably make more sense to poll the VS community instead of the broad Dart community, I suspect the consensus with VS folks would be to stick to existing VS conventions for all language implementations.
I was sure I created a feature request for this already years ago, but can't find it.An option to skip SDK code and sometimes even code of package dependencies would be very helpful.
I wouldn't care if I need to restart.By default I don't want to step into SDK code.Usually the bug is in my own code (no matter how sure I am about having done everything correctly) ;-)