Forum > Debugger
"Flatten" linked-lists or trees in Watches of debugger
Martin_fr:
Lazarus 3.99 (FpDebug only)
For review: https://wiki.freepascal.org/FpDebug-Watches-Intrinsic-Functions#flatten
See description in link. Displays linked lists, and trees, etc as array in the Watches Window
Comments on naming, options, etc welcome.
440bx:
call me lazy but, it would be great if you posted the code of the little example too. That would enable the "reviewer" to initially be on the same page as you are and not run the risk of changing the code due to a typo or mental lapse.
question: my version of trunk is two days old, (downloaded on the 20th), is that recent enough to test/review this feature or should I update to today's version ?
Martin_fr:
Attached has some demo data and watches
Martin_fr:
--- Quote from: 440bx on July 22, 2024, 04:49:55 pm ---question: my version of trunk is two days old, (downloaded on the 20th), is that recent enough to test/review this feature or should I update to today's version ?
--- End quote ---
Todays.
Martin_fr:
And, one possible obvious suggestion. When walking a tree (e.g. with left/right fields), it may be useful to add info to each result item, if it was a left or right key. But that is for another day.
Navigation
[0] Message Index
[#] Next page