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
|
begin
|
||||||
reason := val.AsString;
|
reason := val.AsString;
|
||||||
|
|
||||||
if (reason = 'breakpoint-hit') or (reason = 'end-stepping-range') or
|
if (reason = 'breakpoint-hit') or (reason = 'end-stepping-range')
|
||||||
(reason = 'watchpoint-trigger') then
|
or (reason = 'watchpoint-trigger') or (reason = 'access-watchpoint-trigger')
|
||||||
|
or (reason = 'read-watchpoint-trigger') then
|
||||||
begin
|
begin
|
||||||
case reason of
|
case reason of
|
||||||
'breakpoint-hit': brkreason := dbBreakPoint;
|
'breakpoint-hit': brkreason := dbBreakPoint;
|
||||||
'end-stepping-range': brkreason := dbStep;
|
'end-stepping-range': brkreason := dbStep;
|
||||||
'watchpoint-trigger': brkreason:= dbWatch;
|
'watchpoint-trigger', 'access-watchpoint-trigger', 'read-watchpoint-trigger':
|
||||||
|
brkreason:= dbWatch;
|
||||||
end;
|
end;
|
||||||
if brkreason = dbWatch then
|
if brkreason = dbWatch then
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue