Index: dart/runtime/vm/debugger.cc |
=================================================================== |
--- dart/runtime/vm/debugger.cc (revision 29808) |
+++ dart/runtime/vm/debugger.cc (working copy) |
@@ -1484,6 +1484,11 @@ |
void Debugger::OneTimeBreakAtEntry(const Function& target_function) { |
InstrumentForStepping(target_function); |
+ if (target_function.HasImplicitClosureFunction()) { |
+ const Function& closure_func = |
+ Function::Handle(target_function.ImplicitClosureFunction()); |
+ InstrumentForStepping(closure_func); |
+ } |
} |