Why do I always end up in Thread.exit while debugging and stepping over Psi code???

Hi all,

I got the following anoying problem: I'm working on a code inspection which deals with PSI. When I place a break point in the inspection (doesn't matter where) and the the next statement deals with a psi related object, eg. calling getText on a PsiElement, the debugger breaks out of the current scope and ends up in private method "exit" in the Thread class. No errors/exceptions/stack traces are reported.

This makes it basically impossible to debug code and forces me to use print statements instead :(

Using:
Tried Java 1.4.2_0 - 4 but no luck.
I'm using two installations at the same time:
Release version 4.0.3 as a test environment and the latest beta build 2013 to debug in. (Also tried two the same versions but no go)

I reproduced this behaviour also on somebody elses machine.

Anybody an Idea? Please?????

Thanks,

Raymond Brandon

3 comments

Hi,

Post the issue to tracker. Small project showing the problem will make
the issue fixing much quicker.

Raymond Brandon wrote:

Hi all,

I got the following anoying problem: I'm working on a code inspection which deals with PSI. When I place a break point in the inspection (doesn't matter where) and the the next statement deals with a psi related object, eg. calling getText on a PsiElement, the debugger breaks out of the current scope and ends up in private method "exit" in the Thread class. No errors/exceptions/stack traces are reported.

This makes it basically impossible to debug code and forces me to use print statements instead :(

Using:
Tried Java 1.4.2_0 - 4 but no luck.
I'm using two installations at the same time:
Release version 4.0.3 as a test environment and the latest beta build 2013 to debug in. (Also tried two the same versions but no go)

I reproduced this behaviour also on somebody elses machine.

Anybody an Idea? Please?????

Thanks,

Raymond Brandon



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hi,
Any project that uses PSI for inspections :)

TIA,
Dmitry

0

ITN tracker number #32045 along with reproducable testcase.

Regards,

Raymond

0

Please sign in to leave a comment.