Stepping in debug mode

Why if I try to step through a "if" and condition equals to "false", debugger steps on the last line of "if", not after it? Very annoying, when debugging small conditions.

5 comments
Comment actions Permalink

Why ask us and not SUN generating that kind of debug info?:)

"Alexander Babaev" <no_mail@jetbrains.com> wrote in message
news:1955246.1116854167549.JavaMail.javamailuser@localhost...

Why if I try to step through a "if" and condition equals to "false",

debugger steps on the last line of "if", not after it? Very annoying, when
debugging small conditions.


0
Comment actions Permalink

May be it can be corrected, or may be you treat something not as you have to? I do not know all these debug things. :)

0
Comment actions Permalink

The issue has been discussed several times.
The reason for such weird behaviour is that javac generates incorrect debug information. Debugger only shows the line it was told to
show.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Alexander Babaev" <no_mail@jetbrains.com> wrote in message news:1133780.1116861872715.JavaMail.javamailuser@localhost...

May be it can be corrected, or may be you treat something not as you have to? I do not know all these debug things. :)



0
Comment actions Permalink

Cool. And are there such troubles with jikes or maybe another compiler?

0
Comment actions Permalink

AFAIK jikes was better in this sence.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Alexander Babaev" <no_mail@jetbrains.com> wrote in message news:21216605.1116866829907.JavaMail.javamailuser@localhost...

Cool. And are there such troubles with jikes or maybe another compiler?



0

Please sign in to leave a comment.