debugger: add watch under cursor
|Reported by:||dam||Owned by:|
|Component:||Debugger for Perl 5||Version:||0.59|
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).