Evaluate expression question

Hi,

I was just playing around with the Evaluate Expression feature of the
debugger. Syntax highlighting, method completition, everything there.
But: should the "Unhandled exception" with the red underline also be
there?

What do you think? Should I file a bug for that?

Dirk Dittert

5 comments
Comment actions Permalink

I'd rather say this is not a bug:
for such an editor where we won't perform compilation, unhandled exceptions
are just possible results of the evaluation.
In case the exception occurs the debugger will notify you of that. Besides
probably you know what you are doing
when entering exception.

Friendly,
Eugene.

"Dirk Dittert" <dittert@despammed.com> wrote in message
news:1g27kgu.1hxk3noq2h9ccN%dittert@despammed.com...

Hi,

>

I was just playing around with the Evaluate Expression feature of the
debugger. Syntax highlighting, method completition, everything there.
But: should the "Unhandled exception" with the red underline also be
there?

>

What do you think? Should I file a bug for that?

>

Dirk Dittert



0
Comment actions Permalink

Hmm, I'm not sure if this maybe wasn't a misunderstanding, because when reading
Evgueny's post again after writing my reply, we seem to agree... :)
To clarify it: The evaluation window does show unhandled exceptions with a red
underline (see the attachment). I think Dirk's question was whether the underlining
should be removed in the context of the evaluation window.

---

I tend to consider that as a bug although I didn't report it yet. The error-checking
in the evaluation window is very helpful, but the reports about exceptions can be
very confusing because it doesn't matter in this case. I noticed that it is especially
confusing for people who rarely (or start to) use the evaluation function. But even
if you're used to it, it still makes you think about it for a split second every time.

I'd say the editor should only highlight things that can't be successfully evaluated and
need to be fixed in order to evaluate and not to be compilable.

Sascha


Evgueny Vigdorchik wrote:

I'd rather say this is not a bug:
for such an editor where we won't perform compilation, unhandled exceptions
are just possible results of the evaluation.
In case the exception occurs the debugger will notify you of that. Besides
probably you know what you are doing
when entering exception.

>

Friendly,
Eugene.

>

"Dirk Dittert" <dittert@despammed.com> wrote in message
news:1g27kgu.1hxk3noq2h9ccN%dittert@despammed.com...

Hi,

>

I was just playing around with the Evaluate Expression feature of the
debugger. Syntax highlighting, method completition, everything there.
But: should the "Unhandled exception" with the red underline also be
there?

>

What do you think? Should I file a bug for that?

>

Dirk Dittert

>
>





Attachment(s):
unhandledex.png
0
Comment actions Permalink

I would encounter this is a bug. It's defenitely not a syntax error in this
context so it should not be highlighted in red. Please submit a request.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Dirk Dittert" <dittert@despammed.com> wrote in message
news:1g27kgu.1hxk3noq2h9ccN%dittert@despammed.com...

Hi,

>

I was just playing around with the Evaluate Expression feature of the
debugger. Syntax highlighting, method completition, everything there.
But: should the "Unhandled exception" with the red underline also be
there?

>

What do you think? Should I file a bug for that?

>

Dirk Dittert



0
Comment actions Permalink

Sascha Weinreuter <sascha.weinreuter@NOSPAM-cit.de> wrote:

I think Dirk's question was whether the underlining
should be removed in the context of the evaluation window.


Yes. My intention was to ask here, before I file a bug report (if people
think that there shouldn't be a red underline).

Dirk Dittert

0
Comment actions Permalink

Valentin Kipiatkov (JetBrains) <valentin@intellij.com> wrote:

I would encounter this is a bug. It's defenitely not a syntax error in this
context so it should not be highlighted in red. Please submit a request.


http://www.intellij.net/tracker/idea/viewSCR?publicId=18050

Dirk Dittert

0

Please sign in to leave a comment.