Plugin debugging plugins & ProcessCanceledException
Hi,
is there a way to suppress this ProcessCanceledException when debugging a
plugin? It's driving me nuts because every time I hit a breakpoint I cannot step
through my code because every other call to PSI & Co methods seems to throw this
exception which makes debugging a pain.
Can this be turned off or avoided in some way?
Sascha
Please sign in to leave a comment.
I would like to be able to disable this as well.
Sascha Weinreuter wrote:
Hello Sascha,
SW> is there a way to suppress this ProcessCanceledException when
SW> debugging a plugin? It's driving me nuts because every time I hit a
SW> breakpoint I cannot step through my code because every other call to
SW> PSI & Co methods seems to throw this exception which makes debugging
SW> a pain.
SW>
SW> Can this be turned off or avoided in some way?
Please file a JIRA request. We're usually avoiding it by commenting out the
line where the exception is thrown, but obviously this is not an option for
you. :)
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Dmitry Jemerov (JetBrains) wrote:
Haha, that's not fair :)
http://www.jetbrains.net/jira/browse/IDEA-6149
Sascha
+100
Sascha Weinreuter schrieb:
>>We're usually avoiding it by commenting out
>>the line where the exception is thrown, but obviously this is not an
>>option for you. :)
Or you can paste following magic words into the debugger evaluation window:
((ProgressManagerImpl)ProgressManager.getInstance()).myThreadToIndicatorMap.clear()
This'll disable throwing ProcessCanceledException for a while.
--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"
"Dmitry Jemerov (JetBrains)" <yole@jetbrains.com> wrote in message
news:83ca25fd254c118c7cf0ecfaa75d0@news.intellij.net...
>
>
>
>
Alexey Kudravtsev (JetBrains) wrote:
Thanks for the hint, but it actually is
((ProgressManagerImpl)ProgressManager.getInstance()).b.clear() ;)
Sascha