Jump to content
Sign in to follow this  
Attila Kovacs

paste into watch list

Recommended Posts

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 by Attila Kovacs
  • Like 2

Share this post


Link to post

Another non-obvious trick is that you can drag&drop selected identifier/expression (double click to select) into the watch list.

Edited by Dmitriy M
  • Like 1

Share this post


Link to post

@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
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

Just tested dragging with Delphi XE. It works!
Always learning something new!

  • Like 1

Share this post


Link to post
1 hour ago, limelect said:

10.2.3 dragging dose not work

You have to be inside a debugging session. 

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×