A test branch for FpDebug. (Hope it survived the rebase). Please test.
https://gitlab.com/martin_frb/lazarus/-/compare/main...dbg%2Fwin-aarch64-fpdebug?from_project_id=28419588- Should work: Breakpoints, stepping, watches, locals, basic stack (probably threads)
- not stepping into finally blocks (not even without exception / well, might work with F7, since they are a subroutine)
- Notify on raise exception / BUT NOT, stepping to except/finally
- NO assembler
- NO watchpoints
- NO modify variables
Given the speed of my QEMU setup, I have done almost no testing.
----
Aarch64 should not increase the PC when hitting a breakpoint (or so says any research I did).
=> But on my setup, Windows reports an increased PC.
If breakpoints don't work for you (and possible even the target reports errors after silently passing one), then try the branch without the last commit "FpDebug: (Aarch64/Win) Adjust PC"