This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 212355 - Broken thread highlighting if switching between threads outside of Debugging view
Summary: Broken thread highlighting if switching between threads outside of Debugging ...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jiri Kovalsky
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-05-11 07:03 UTC by Jiri Kovalsky
Modified: 2014-06-27 10:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of original thread remaining still in bold font. (120.87 KB, image/png)
2012-05-11 07:03 UTC, Jiri Kovalsky
Details
Screenshot of original thread remaining still in bold font. (56.83 KB, image/png)
2012-05-28 15:57 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2012-05-11 07:03:57 UTC
Created attachment 119333 [details]
Screenshot of original thread remaining still in bold font.

Product Version: NetBeans IDE Dev (Build 201205100400)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Description:
============
If more than one breakpoint is hit in a multithread application, pressing "New Breakpoint Hit >" button in Debugging view switches threads correctly but the original thread remains highlighted in a bold font. The same happens when using "Debug > Set Current Thread..." from main menu.

Steps to reproduce:
===================
1. Open MemoryView [1] testing project.
2. Set line 27 and 39 breakpoints in ThreadSuspending.java.
3. Invoke "Debug File" from popup menu of ThreadSuspending.java.
4. Both Thread-1 and Thread-2 threads are suspended and Thread-1 will be most probably highlighted as current.
5. Push arrow in the "New Breakpoint Hit" warning yellow window.
6. Current thread will be changed but Thread-1 will be still in bold font.

[1] http://wiki.netbeans.org/wiki/images/0/03/MemoryView.zip
Comment 1 Martin Entlicher 2012-05-11 14:38:14 UTC
This is not reliably reproducible for me.
But occasionally it happens.
Also, sometimes multiple items are bold after Continue.
Comment 2 Jiri Kovalsky 2012-05-14 08:35:46 UTC
This is 100% reproducible for me so I will be able to tell you whether the fix was successful or not.
Comment 3 Martin Entlicher 2012-05-14 14:47:36 UTC
For me it's fixed by changeset:   221691:350cfa26b4df
http://hg.netbeans.org/main/rev/350cfa26b4df
So hopefully, it will work for you as well...
Comment 4 Jiri Kovalsky 2012-05-28 15:57:44 UTC
Created attachment 119951 [details]
Screenshot of original thread remaining still in bold font.

Product Version: NetBeans IDE Dev (Build 201205280002)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

I am sorry but it still does not work. See attached screenshot generated in build #201205280002. If you want please come to see it for yourself or patch your module to log some useful data. I am willing to patch the IDE and provide you any debugging data.
Comment 5 Martin Entlicher 2014-06-27 10:18:37 UTC
I was not able to reproduce this for a long time already.
Hopefully this got fixed in 8.0.