Bug 551065 - [debug view] Wrong selection on breakpoints that suspend VM
When using the Debug view filter to hide system threads, and breakpoints
that suspend the JVM on hit, the Debug view sporadically shows wrong
contents. Examples are wrong selection or wrong expand state of threads.
This likely occurs due to a system thread becoming suspended and then
visible in the Debug view. Expand or select operations may then be
executing with an incorrect index, as the newly visible system thread
shifts the indices of subsequent threads.
This change adds a workaround for the problem. JDTDebugTarget will list
non-system threads first, followed by system threads. This avoids the
timing problem listed above.
Signed-off-by: Simeon Andreev <firstname.lastname@example.org>
1 file changed