Recent

Author Topic: [SOLVED] Watchlist, order of the watches  (Read 895 times)

Hansvb

  • Hero Member
  • *****
  • Posts: 715
[SOLVED] Watchlist, order of the watches
« on: December 05, 2023, 07:27:39 pm »
Hi
Is it possible to change the order of the watches in the watchlist?

Why have all buttons in the watchlist window toolbar hints accept the last two (on the right).

« Last Edit: December 08, 2023, 02:12:50 pm by Hansvb »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10552
  • Debugger - SynEdit - and more
    • wiki
Re: Watchlist, order of the watches
« Reply #1 on: December 05, 2023, 07:42:59 pm »
In Lazarus 3.0 (including the RC): Drag and drop.

To drag a watch, you need to click (and hold) the text.

If you click the empty area in a line, it will not drag (this is how VTV does it)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10552
  • Debugger - SynEdit - and more
    • wiki
Re: Watchlist, order of the watches
« Reply #2 on: December 05, 2023, 07:47:40 pm »
Why have all buttons in the watchlist window toolbar hints accept the last two (on the right).

They were added later, and it was forgotten. Actually one of them. The other - no idea.

In Lazarus 3.0 this is 2 of the last 3 buttons :(


The Magnifier: opens the inspect pane. A side panel of the watches window that shows the content of the current selected watch. It provides more space for that watch.

The "electronic chip": Displays the data-address column. Some watches have a data address. The "data address" is not the address of the variable in the watch.
E.g. a ansistring is a pointer to the text. So the variable holds that pointer. The address of the variable is where the pointe is stored.
The data address is where the text is.

Hansvb

  • Hero Member
  • *****
  • Posts: 715
Re: Watchlist, order of the watches
« Reply #3 on: December 05, 2023, 08:03:39 pm »
Quote
In Lazarus 3.0 (including the RC): Drag and drop.

Nice, than I will instal rc2 in the weekend to try it out.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10552
  • Debugger - SynEdit - and more
    • wiki
Re: Watchlist, order of the watches
« Reply #4 on: December 05, 2023, 08:13:55 pm »

Hansvb

  • Hero Member
  • *****
  • Posts: 715
Re: Watchlist, order of the watches
« Reply #5 on: December 08, 2023, 02:12:37 pm »
I tried it and reordering watches works in rc2.

 

TinyPortal © 2005-2018