Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » seeing blocking threads in debugger?
seeing blocking threads in debugger? [message #183908] Fri, 23 January 2004 06:41 Go to next message
Eclipse UserFriend
Originally posted by: lard.tardis.ed.ac.molar.uk

I'm using eclipse 2.1.2 to debug an application. I can see the threads
in the thread view, does it indicate in any way which threads are
blocking on something? Or is there a way to find this out?

thanks
alex
Re: seeing blocking threads in debugger? [message #183939 is a reply to message #183908] Fri, 23 January 2004 09:09 Go to previous messageGo to next message
Eclipse UserFriend
Use the "Threads & Monitors" view - available from the "Window > Show View".
Pause the threads you want to know about (or the entire VM), and info will
appear in the view. You can toggle between threads, monitors, and deadlock
(cycle detection).

Darin

"Alex Hunsley" <lard@tardis.ed.ac.molar.uk> wrote in message
news:bur15p$l0d$1@eclipse.org...
> I'm using eclipse 2.1.2 to debug an application. I can see the threads
> in the thread view, does it indicate in any way which threads are
> blocking on something? Or is there a way to find this out?
>
> thanks
> alex
>
Re: seeing blocking threads in debugger? [message #183945 is a reply to message #183939] Fri, 23 January 2004 09:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lard.tardis.ed.ac.molar.uk

Darin Wright wrote:

> Use the "Threads & Monitors" view - available from the "Window > Show View".
> Pause the threads you want to know about (or the entire VM), and info will
> appear in the view. You can toggle between threads, monitors, and deadlock
> (cycle detection).
>
> Darin
>
Oh, thanks for that! :)

alex
Re: seeing blocking threads in debugger? [message #183981 is a reply to message #183939] Fri, 23 January 2004 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lard.tardis.ed.ac.molar.uk

Darin Wright wrote:

> Use the "Threads & Monitors" view - available from the "Window > Show View".
> Pause the threads you want to know about (or the entire VM), and info will
> appear in the view. You can toggle between threads, monitors, and deadlock
> (cycle detection).
>
> Darin
>

I've activated this view, and it contains the text "The currently
selected VM does not support the retrieval of monitor information".
I'm using jdk1.4.1_05, and the java compliance version in eclipse is set
to 1.4.
Is there some setting I'm missing that will allow monitors to be viewed?
cheers,
alex
Re: seeing blocking threads in debugger? [message #184021 is a reply to message #183981] Fri, 23 January 2004 11:27 Go to previous messageGo to next message
Eclipse UserFriend
"Alex Hunsley" <lard@tardis.ed.ac.molar.uk> wrote in message
news:burbnu$2bf$1@eclipse.org...
> Darin Wright wrote:
>
> > Use the "Threads & Monitors" view - available from the "Window > Show
View".
> > Pause the threads you want to know about (or the entire VM), and info
will
> > appear in the view. You can toggle between threads, monitors, and
deadlock
> > (cycle detection).
> >
> > Darin
> >
>
> I've activated this view, and it contains the text "The currently
> selected VM does not support the retrieval of monitor information".
> I'm using jdk1.4.1_05, and the java compliance version in eclipse is set
> to 1.4.
> Is there some setting I'm missing that will allow monitors to be viewed?
> cheers,
> alex
>
>
>

See http://dev.eclipse.org/newslists/news.eclipse.tools/msg48270 .html for
full details.
1.4.1 does not support this functionality. You will need to run your program
on 1.4.2 or 1.3.1 and use the -classic VM argument.

HTH
Darins
Re: seeing blocking threads in debugger? [message #185348 is a reply to message #184021] Tue, 27 January 2004 07:10 Go to previous message
Eclipse UserFriend
Originally posted by: lard.tardis.ed.ac.molar.uk

Darin Swanson wrote:


>
> See http://dev.eclipse.org/newslists/news.eclipse.tools/msg48270 .html for
> full details.
> 1.4.1 does not support this functionality. You will need to run your program
> on 1.4.2 or 1.3.1 and use the -classic VM argument.
>
> HTH
> Darins
>
>


Thanks, this works!

alex
Previous Topic:which plugin contributed "Build Order" pref page?
Next Topic:Compiling a class to a web application server
Goto Forum:
  


Current Time: Fri Sep 26 06:17:15 EDT 2025

Powered by FUDForum. Page generated in 0.07055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top