Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: yakumoklesk on August 23, 2007, 06:18:49 pm

Title: Suggestion: Watches drag and drop
Post by: yakumoklesk on August 23, 2007, 06:18:49 pm
I would suggest to this wonderful IDE a simple functionality that would make debugging much comfortable. Drag a selected variable from the source window and drop directly to the watches window. This exists in MSVC and it was of very use for me.

Thanks for reading.

David.
Title: Re: Suggestion: Watches drag and drop
Post by: raph on August 23, 2007, 06:47:27 pm
Tip: You can right click on a variable and select "Watch '$variable'".
Title: Re: Suggestion: Watches drag and drop
Post by: dmoore on August 23, 2007, 08:14:10 pm
the only thing that's annoying about that is when the IDE thinks it's smarter than the user and tries to suggest the whole word at the cursor rather than the text I selected. particularly annoying when I want to watch
Code
foo->bar[i]
not
Code
foo
Title: Re: Suggestion: Watches drag and drop
Post by: yakumoklesk on August 23, 2007, 09:08:19 pm
Tip: You can right click on a variable and select "Watch '$variable'".

I new, but I don't like much contexts menus nor any kind of menus. They slow the work. I like shorcuts. Menus must exist for the inexperienced user.