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 143445 - Pause/resume icon in debugging view is not updated
Summary: Pause/resume icon in debugging view is not updated
Status: REOPENED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 13:00 UTC by Petr Cyhelsky
Modified: 2012-10-10 11:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
see the second thread state and icon (154.96 KB, image/jpeg)
2008-08-11 13:02 UTC, Petr Cyhelsky
Details
screenshot (406.05 KB, image/tiff)
2008-08-18 17:06 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2008-08-11 13:00:34 UTC
Product Version: NetBeans IDE Dev (Build 200808110201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)

Observed: When debugging multi-threaded application if the non-current thread is resumed and it then hit a breakpoint
the icon next to that non-current thread is not changed to resume - it is still "pause" although the thread IS paused
and can only be resumed - see the attached shortcut

Steps to reproduce: Debug some multithreaded application -> place brakpoints so that some thread can repeatedly hit it
-> when the thread hits the breakpoint make sure it is not current -> resume this non-current thread -> when it hits the
breakpoint again the icon is still in "pause" state
Comment 1 Petr Cyhelsky 2008-08-11 13:02:35 UTC
Created attachment 67000 [details]
see the second thread state and icon
Comment 2 Daniel Prusa 2008-08-12 16:20:27 UTC
Fixed.
changeset ca596867b3f3 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=ca596867b3f3
Comment 3 Petr Cyhelsky 2008-08-18 17:04:36 UTC
Product Version: NetBeans IDE Dev (Build 200808170243)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-120
System: Mac OS X version 10.4.11 running on i386; MacRoman; en_US (nb)

On mac this issue is still present - see the screenshot
Comment 4 Petr Cyhelsky 2008-08-18 17:06:57 UTC
Created attachment 67723 [details]
screenshot
Comment 5 Daniel Prusa 2008-08-19 10:36:14 UTC
I cannot reproduce this on Windows while trying to click the pause/resume button repeatedly many times (for one thread
that hits a breakpoint in a loop). Is it reproducible for you each time you click the icon or is it random?
Comment 6 Petr Cyhelsky 2008-08-19 12:07:50 UTC
Sorry, what i said is "on mac" i should have said mac specific - i tested it on vista(same build) and on vista it worked
fine. It is reproducible for me each time through the breakpoint scenario as written in first post - not on each click
on the icon - it seems like the change of state due to hit of the breakpoint is not correctly reflected in debugging
view - when any action that involves repainting of debugging view is invoked the icons right themselves.
Comment 7 Daniel Prusa 2009-06-30 14:32:09 UTC
works reliably on all platforms except mac -> decreasing priority
Comment 8 Martin Entlicher 2012-10-10 11:45:26 UTC
Is this still an issue on Mac? I did not receive more complaints in this area, maybe it got fixed after four years...