Ticket #929 (closed enhancement: not relevant)
debugger: add watch under cursor
| Reported by: | dam | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Debugger for Perl 5 | Version: | 0.59 |
| Keywords: | debugger | Cc: |
Description
Currently, the only way to add a watch item is to select it in the editor and click on the add watch button.
It would be nice if Padre could figure out the variable under the cursor and not require selection. If it fails to discover the variable, it could show a window for adding variable name by hand.
An additional item for the editor context menu would be extra great. Something like "Add <variable> to watch" (variable auto-guessed) or "Add watch" (when unable to guess).
Change History
Note: See
TracTickets for help on using
tickets.

I improved the variable detection in r11393 (via the already-existing code used by the refactoring functionality). Now you don't need to select the variable any more.
Still open
What would also be nice: A context menu entry in the 'Debug' pane on the right hand side of Padre, or (additionally), an "add variable" button.