Community
Participate
Working Groups
Often when I start a debug session, the source for java.lang.Object shows up in the editor pane. For some reason, the debugger is openning this editor.
Cannot make this occurr anymore with fix for 12740. Closing.
*** Bug 16292 has been marked as a duplicate of this bug. ***
This is happenning with our latest plug-ins
This appears to be a "luck of the draw" scenario. When a VM starts, its threads can be suspended. The launch view attempts to expand and display stack frames for suspended threads. In this case a thread is suspended in Object.wait (transiently). The thread then resumes, and all is well. Not sure if there is a fix for this.
I've started seeing this in build 20020521 on Linux-GTK. I never saw it before.
The problem is that we're asking the VM for threads and adding them to the view before we receive ThreadStart notifications. We could probably fix this problem by only adding threads to the view for which we've received ThreadStart notifications.
I don't believe that works in a remote attach - there is no guarentee that you will receive a thread start for already "started" threads.
*** Bug 17866 has been marked as a duplicate of this bug. ***
The JDWP spec actually says that the threads returned by the VM shouldn't include threads which haven't been started yet: "Threads that have not yet been started and threads that have completed their execution are not included in the returned list." This bug could be caused by the VM(s?) not honoring this contract.
According to specification, all threads that the VM returns at startup are running. Updated JDIDebugTarget#initializeState() to initialize our JDIThreads in the running state. This is safe because of the facts that the threads must be running when we connect to the VM and we ask for the threads before we install any breakpoints. This change does not affect threads which are created later.
*** Bug 18113 has been marked as a duplicate of this bug. ***
Fixed. Needs F3 verification.
Verified.