[PATCH] WatchList feature request: add support to show watch value as binary
Original Reporter info from Mantis: silvioprog
-
Reporter name: silvioprog
Original Reporter info from Mantis: silvioprog
- Reporter name: silvioprog
Description:
Hi.
Sometimes we need to watch a variable content as binary, for example, when we are working with bitwise operations [1]. It can be done by using an external calculator with binary support, but, what do you think to see it inside Lazarus IDE in the watch list value?
Bitwise and bit operations is very common in low-level programming or in embedded architectures (ARM, AVR/PIC etc.), so it would be nice to see Lazarus allowing to watch the bit types on its debugging windows.
[1] https://en.wikipedia.org/wiki/Bitwise_operation
Steps to reproduce:
Just apply the patch and rebuild the entire IDE. (I've not tested compiling only the changed units ...)
Additional information:
The attached pictures show the debugging windows after applying the patch.
(feel free to improve the patch! :-p )
Mantis conversion info:
- Mantis ID: 32817
- Version: 1.9 (SVN)
- Fixed in version: 1.10
- Fixed in revision: 57196 (#ea532661)
- Target version: 1.10