Attila Kovacs 629 Posted December 27, 2019 (edited) Wow. After so many years of working with Delphi I have just noticed that you can paste code into the watch list 🤪 Or did I install some experts? Edited December 27, 2019 by Attila Kovacs 2 Share this post Link to post
Dmitriy M 10 Posted December 28, 2019 (edited) Another non-obvious trick is that you can drag&drop selected identifier/expression (double click to select) into the watch list. Edited December 28, 2019 by Dmitriy M 1 Share this post Link to post
limelect 48 Posted December 28, 2019 @Attila Kovacs Using 10.2.3 and before i never remember that "you can paste code " in to watch list. what Dmitriy say is the only way. So if you have that possibility it is an experts. So can you elaborate on the expert? Share this post Link to post
Attila Kovacs 629 Posted December 28, 2019 @limelect I've started a 10.2 without anything installed and it works. Give it a try. Share this post Link to post
limelect 48 Posted December 29, 2019 @Attila Kovacs I did try. I took a few lines of code and moved them to watch list. Nothing. May be a special kind of lines? Share this post Link to post
Uwe Raabe 2056 Posted December 29, 2019 3 hours ago, limelect said: I took a few lines of code and moved them to watch list I guess we are talking about valid expressions and not arbitrary code. BTW, even arbitrary code can be pasted or dragged into the watch list. Often that doesn't make any sense, though, as most of the time you will see an E2156 Expression too complicated. Share this post Link to post
limelect 48 Posted December 30, 2019 OK i thought dragging will work ,since a drag icon is shown, but copping works. Nice. Share this post Link to post
Uwe Raabe 2056 Posted December 30, 2019 Dragging works, too. At least here in 10.3.3: 1 Share this post Link to post
Clément 148 Posted December 31, 2019 Just tested dragging with Delphi XE. It works! Always learning something new! 1 Share this post Link to post
Uwe Raabe 2056 Posted January 2, 2020 1 hour ago, limelect said: 10.2.3 dragging dose not work You have to be inside a debugging session. 1 Share this post Link to post