mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-09 10:04:51 +01:00
Fix to make debugger stop at breakpoint at address 0. Only single step in TDbgAvrProcess.Continue if SingleStep parameter is true.
This commit is contained in:
parent
b27172ff12
commit
c6df32a82c
@ -713,7 +713,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
if TDbgAvrThread(AThread).FIsPaused then // in case of deInternal, it may not be paused and can be ignored
|
||||
if TDbgAvrThread(AThread).FIsPaused and SingleStep then // in case of deInternal, it may not be paused and can be ignored
|
||||
if HasInsertedBreakInstructionAtLocation(AThread.GetInstructionPointerRegisterValue) then
|
||||
begin
|
||||
TempRemoveBreakInstructionCode(AThread.GetInstructionPointerRegisterValue);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user