Eclipse CDT - how to quickly evaluate an expression which is not in the code?
<p>I have been away from Eclipse CDT for a while and have become spoiled by JetBrains' excellent IDEs (and the company won't let me have <a href="https://www.jetbrains.com/clion/" rel="nofollow">Clion</a>). Admittedly these are mostly for interpreted, rather than compiled languages, so evaluation is simpler.</p>

<p>When I am breakpointed in Eclipse CDT, (how) can I quickly evaluate expressions involving variables known to the debugger, but in ways in which they are not used in the code?</p>

<p>For instance, if I have two integers, <code>i</code> and <code>j</code>, (how) can I quickly evaluate <code>i + j</code>?</p>

<p>Is it possible, given <code>char *s</code>, to evaluate <code>stlen(s)</code>? Or the result of a local function call?</p>