delve/service/debugger
aarzilli 1ced7c3a60 proc: next should not skip lines with conditional bps
Conditional breakpoints with unmet conditions would cause next and step
to skip the line.

This breakpoint changes the Kind field of proc.Breakpoint from a single
value to a bit field, each breakpoint object can represent
simultaneously a user breakpoint and one internal breakpoint (of which
we have several different kinds).

The breakpoint condition for internal breakpoints is stored in the new
internalCond field of proc.Breakpoint so that it will not conflict with
user specified conditions.

The breakpoint setting code is changed to allow overlapping one
internal breakpoint on a user breakpoint, or a user breakpoint on an
existing internal breakpoint. All other combinations are rejected. The
breakpoint clearing code is changed to clear the UserBreakpoint bit and
only remove the phisical breakpoint if no other bits are set in the
Kind field. ClearInternalBreakpoints does the same thing but clearing
all bits that aren't the UserBreakpoint bit.

Fixes #844
2017-11-20 11:25:35 -08:00
..
debugger_darwin.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger_linux.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
debugger_windows.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
locations_test.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
locations.go proc: replace all uses of gosymtab/gopclntab with uses of debug_line 2017-11-03 20:57:04 +01:00