Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
Evaluate whole expression under cursor
p2rkw:
Maybe should CC have possibility to select expression under cursor?
oBFusCATed:
Yes, but we need public api -> something like CCManager->GetFullExpressionAtCursor.
But first we need CCManager... :P
Teybeo:
Me too, I have problems having to manually select the expression I want to see the value.
Most of the time, it is to watch the value of a struct member, you have to select all its parents for it work.
There are also times when, doing it quickly, I slide the mouse to the end of line and then, the semi-column breaks the evaluation ><
So yeah, I would love to see a bit more of intelligence put in the under cursor evaluation functionality ;)
p2rkw:
I had moved this code to CC, added menu item, assign key shortcut and make KeyMacks macro that select call chain under cursor and 'presses' CTRL. It works quite nice now.
oBFusCATed:
p2rkw: I've understood almost nothing.... can you try to explain better or even provide demo patch?
Navigation
[0] Message Index
[*] Previous page
Go to full version