DescriptionChange how debugger handles source breakpoints
- Identify a source breakpoint by a script and a token position
rather than a function object.
- When a new breakpoint is set, iterate over all compiled functions
to see whether code breakpoints must be set.
This change fixes issues with functions that get compiled several
times, for example as implicit closures or a copies of mixin
functions or local closures of mixing functions. We did not detect
all duplicates of functions.
Eliminated recently introduced const modifiers in SourceBreakpoint
class. They tend to be in the way because several accessor methods
of SourceBreakpoint compute data lazily and modify the object as a
side effect.
Committed: https://code.google.com/p/dart/source/detail?r=31372
Patch Set 1 #
Total comments: 34
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 6 (0 generated)
|