Register Debug Window keeps recreating the list upon Step Over / Step Into
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
There is a very annoying issue with Lazarus in that the Debug Window that displays Registers (Ctrl+Alt+R) under Windows 64-bit (and 32-bit too, I believe). When you step through your program, the list is refreshed every time. The problem with this is that it scrolls the window back to the top, which is irritating if you want to only look at, say, AX instead of the full 64-bit RAX (of which the upper bits may contain garbage data) and also reverts the display format for a register back to Default, which is awkward when you want to evaluate the integer or raw memory on an XMM register.
Steps to reproduce:
Compile and run any program, and place a breakpoint anywhere in the source code that the execution will reach (it can either be Pascal or Assembler code) - when the debugger breaks out, view the Registers window, scroll down and/or change the Format of fields of your choice, then press F7 or F8 to step once through the program. Observe the Register window completely clear and re-create the list items, with the scrolling right back at the top and all the value fields reverting to the default format.
Additional information:
Ideally, the Lazarus IDE should only change the Value fields, not re-create the entire list, because the actual registers present should never change.
Mantis conversion info:
- Mantis ID: 32654
- OS: Windows 7 (64-bit)
- OS Build: Enterprise
- Build: r54278, x86_64-win64-win32/win64
- Platform: Win64
- Version: 1.6.4
- Fixed in version: 2.2
- Fixed in revision: 62591 (#7e1fb750)
- Monitored by: » @CuriousKit (J. Gareth Moreton)
- Target version: 2.2