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 258651

Summary: API for pin watches
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: issues
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 215073, 258917    
Attachments: Proposed pin watch APIs
Proposed pin watch APIs
Proposed pin watch APIs

Description Martin Entlicher 2016-04-05 07:49:11 UTC
Pin watches implementation (issue #215073) need APIs in NetBeans debugger.
Comment 1 Martin Entlicher 2016-04-08 17:40:37 UTC
Created attachment 159170 [details]
Proposed pin watch APIs
Comment 2 Martin Entlicher 2016-04-08 17:42:26 UTC
Please review the proposed API for debugger pin watches.
The code is on debugger_pin_watch branch in jet-main repository.
Comment 3 Martin Entlicher 2016-04-08 17:44:27 UTC
Please review whether this API suits CND for pin watches implementation.
Comment 4 Martin Entlicher 2016-04-12 09:58:20 UTC
Created attachment 159225 [details]
Proposed pin watch APIs

The APIs slightly improved to allow watch value editing.
Comment 5 Martin Entlicher 2016-04-14 07:59:16 UTC
Created attachment 159261 [details]
Proposed pin watch APIs

Finally, there was an agreement to add a possibility to expand the pin watch, to get a detailed view.
I've added just two methods to this review to accomplish this in a generic way:
ValueProvider.getHeadActions(Watch),
ValueProvider.getTailActions(Watch).
If you have a suggestion for a better naming/approach, you're welcome.
Comment 6 Martin Entlicher 2016-04-18 12:49:11 UTC
Thank you for the review, I'm going to merge the branch into trunk this evening CEST.
Comment 7 Martin Entlicher 2016-04-18 23:13:49 UTC
The debugger_pin_watch branch is merged into trunk:
http://hg.netbeans.org/jet-main/rev/407d58493c75
Comment 8 Quality Engineering 2016-04-20 01:49:19 UTC
Integrated into 'main-silver', will be available in build *201604200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4349a5e16a25
User: mentlicher@netbeans.org
Log: #258651: Debugger API for pin watches.