Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change the order of watches in Delphi XE2?

Often when I work with complex methods I have many watches active simultaneously. If I add a new watch it will be placed at the bottom of the list. Sometimes, though, I would like the new watch next to some other watch, because the two variables have some connection. I haven't found a way to do this, other than having to delete and reinsert watches. Is there a better way to do it?

Considering the long and mostly impressive history of the Delphi IDE, I feel the watches window has been neglected. As far as I recall it behaved identically in Turbo Pascal :-/

like image 852
Svein Bringsli Avatar asked Apr 17 '12 19:04

Svein Bringsli


2 Answers

I'm not aware of anything from inside the IDE, but you can change the order in the Watches section of the dsk file.

like image 165
Uwe Raabe Avatar answered Sep 24 '22 14:09

Uwe Raabe


You can categorize watches into different groups, by double-clicking on them and specifying a group name. This will place them in different tabs.

like image 28
Alan Clark Avatar answered Sep 24 '22 14:09

Alan Clark