Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Suspend VM not resuming on F6 or F8
Suspend VM not resuming on F6 or F8 [message #1815273] Sun, 29 September 2019 04:15 Go to next message
Rick Hodgin is currently offline Rick HodginFriend
Messages: 25
Registered: September 2019
Junior Member
I upgraded to 2019-09 this weekend, and I've created a new project. At some point I setup the default breakpoint activity to be Suspend VM, so now all breakpoints suspend the VM. The problem on this new project is that the suspended VM is not resuming when I press F6 or F8. Only the current thread.

Is there a setting to turn off the Suspend VM default? I can't find it. The place I set it up previously seems to have moved.

Or, am I doing something wrong in this project by having it not restart the other suspended threads?
Re: Suspend VM not resuming on F6 or F8 [message #1815278 is a reply to message #1815273] Sun, 29 September 2019 08:15 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

If you want to resume, I find that JDT resumes wrt to the current stack trace selection, so if your selection is in a particular thread just that thread resumes. If you want to resume all threads, select something higher up the stack trace tree such as the Launch or Process

Regards

Ed Willink
Re: Suspend VM not resuming on F6 or F8 [message #1815287 is a reply to message #1815278] Sun, 29 September 2019 17:36 Go to previous messageGo to next message
Rick Hodgin is currently offline Rick HodginFriend
Messages: 25
Registered: September 2019
Junior Member
Ed Willink wrote on Sun, 29 September 2019 08:15
Hi

If you want to resume, I find that JDT resumes wrt to the current stack trace selection, so if your selection is in a particular thread just that thread resumes. If you want to resume all threads, select something higher up the stack trace tree such as the Launch or Process

Regards

Ed Willink


How can I turn off the default setting to suspend the whole VM when I add a new breakpoint? It used to just suspend the current thread by default. I changed the default and I can't figure out how to change it back.

Is there an XML or text file I can manually edit? Or a menu option somewhere?
Re: Suspend VM not resuming on F6 or F8 [message #1815290 is a reply to message #1815287] Sun, 29 September 2019 20:44 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Did you try Window->Preferences->Java->Debug->Default Suspend policy for new breakpoints?

Regards

Ed Willink
Re: Suspend VM not resuming on F6 or F8 [message #1815292 is a reply to message #1815290] Mon, 30 September 2019 02:12 Go to previous message
Rick Hodgin is currently offline Rick HodginFriend
Messages: 25
Registered: September 2019
Junior Member
Ed Willink wrote on Sun, 29 September 2019 20:44
Did you try Window->Preferences->Java->Debug->Default Suspend policy for new breakpoints?


That was it. Thank you.

It would be nice if a setting for the global suspend policy was on the Breakpoints window/tab.

[Updated on: Mon, 30 September 2019 02:13]

Report message to a moderator

Previous Topic:Content assist prefers non-perfect match
Next Topic:Vertical scroll beyond content
Goto Forum:
  


Current Time: Fri Apr 26 19:37:33 GMT 2024

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

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

Back to the top