mirror of https://gitlab.com/basile.b/dexed.git
#97, watchpoints, stop reason is function of watch type
This commit is contained in:
parent
8e513f8b52
commit
25cf416369
|
@ -1568,13 +1568,15 @@ begin
|
|||
begin
|
||||
reason := val.AsString;
|
||||
|
||||
if (reason = 'breakpoint-hit') or (reason = 'end-stepping-range') or
|
||||
(reason = 'watchpoint-trigger') then
|
||||
if (reason = 'breakpoint-hit') or (reason = 'end-stepping-range')
|
||||
or (reason = 'watchpoint-trigger') or (reason = 'access-watchpoint-trigger')
|
||||
or (reason = 'read-watchpoint-trigger') then
|
||||
begin
|
||||
case reason of
|
||||
'breakpoint-hit': brkreason := dbBreakPoint;
|
||||
'end-stepping-range': brkreason := dbStep;
|
||||
'watchpoint-trigger': brkreason:= dbWatch;
|
||||
'watchpoint-trigger', 'access-watchpoint-trigger', 'read-watchpoint-trigger':
|
||||
brkreason:= dbWatch;
|
||||
end;
|
||||
if brkreason = dbWatch then
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue