B6755: Variable view has side effects
When running a debug session and the variables view is showing the filtered version
(ie. those variables that are of interest), some displayed variables are actually
expressions that get evaluated and have side effects, so for example if I have the
following code snippet:
The variable display shows 'i++' as the expression, but it seems to be modifying
the value of i in the process...
This does not happen when all variables are shown.
Anyone else seeing this? Is this a known problem or should I file a Jira issue?
Cheers,
Bonny
Please sign in to leave a comment.
why don't you just write
buf ? instead of i++.
On 2007-03-14 09:16:25 +0300, Bonny Rais <bonnyr@optushome.com.au> said:
Looks like a blocker issue. Would you please file?
Hello Maxim,
>> When running a debug session and the variables view is showing the
>> filtered version
>> (ie. those variables that are of interest), some displayed variables
>> are actually
>> expressions that get evaluated and have side effects, so for example
>> if
>> I have the
>> following code snippet:
>>
>> The variable display shows 'i++' as the expression, but it seems to
>> be
>> modifying
>> the value of i in the process...
>> This does not happen when all variables are shown.
>>
>> Anyone else seeing this? Is this a known problem or should I file a
>> Jira issue?
It's filed already: http://jetbrains.net/jira/browse/IDEA-11693
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"