[Qt-creator] Nameless return values for debug mode

NIkolai Marchenko enmarantispam at gmail.com
Mon Nov 16 11:55:24 CET 2015


locals and expressions only show just that: locals and expressions
When there is a chain of returns none of which assign to a temporary
variable it become hard to debug what went wrong and where without modifyng
code with qdebugs

On Mon, Nov 16, 2015 at 1:47 PM, Orgad Shaneh <orgads at gmail.com> wrote:

> On Mon, Nov 16, 2015 at 12:44 PM, NIkolai Marchenko <
> enmarantispam at gmail.com> wrote:
>
>> Is it possible to modify debug process to let the execution linger in the
>> debugged function for 1 more step to show the result created by the return
>> statemenet in the debug view?
>>
>> This way there will be no need to create temp variables/debug statements
>> to debug what the actual return statement of the function produces.
>>
>
> When you exit a function with Shift-F11 the return value is displayed in
> the Locals&Expressions view.
>
> Is this what you're looking for?
>
> - Orgad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151116/f8679c34/attachment.html>


More information about the Qt-creator mailing list