Code::Blocks

User forums => Using Code::Blocks => Topic started by: rogeriodec on March 21, 2018, 03:19:30 pm

Title: Copy Debug Watch variable content to clipboard
Post by: rogeriodec on March 21, 2018, 03:19:30 pm
It is often interesting to get values that appear in "Watches" to do external calculations.
However it does not seem possible to use Ctrl + C to copy these values.
Is there any way to copy these values to the clipboard?
Title: Re: Copy Debug Watch variable content to clipboard
Post by: oBFusCATed on March 21, 2018, 03:59:43 pm
Have you tried Right click -> Copy?
The global ctrl-c is used for accelerator for the editor and so it is not really possible to use it in other windows.
This is how things worked in wxWidgets the last time I've investigated this.
Title: Re: Copy Debug Watch variable content to clipboard
Post by: rogeriodec on March 21, 2018, 04:46:46 pm
There is no "copy" option right clicking on watched variable as the attatched image.
Where can I find this option?
Title: Re: Copy Debug Watch variable content to clipboard
Post by: oBFusCATed on March 21, 2018, 05:10:18 pm
I guess the read only values cannot be copied.
You can post a request on the tickets sections about this.
Title: Re: Copy Debug Watch variable content to clipboard
Post by: rogeriodec on March 28, 2018, 09:35:29 pm
Ticked opened: https://sourceforge.net/p/codeblocks/tickets/654/