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 248626 - Add "Evaluate Code" pane into generic debugger API (spi.debugger.ui module)
Summary: Add "Evaluate Code" pane into generic debugger API (spi.debugger.ui module)
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 248776 248778
  Show dependency tree
 
Reported: 2014-11-13 17:28 UTC by Martin Entlicher
Modified: 2014-11-30 04:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
CodeEvaluator API (23.54 KB, patch)
2014-11-21 13:12 UTC, Martin Entlicher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2014-11-13 17:28:54 UTC
There is an original Evaluate Code dialog implemented in JPDA debugger. If another debugger implementation wants to add such functionality, it needs to create it's own evaluate UI component.

We can put an abstracted version of the Evaluate Code dialog into the SPI module instead and have it used by several debugger implementations.
Comment 1 Martin Entlicher 2014-11-21 13:12:00 UTC
Created attachment 150607 [details]
CodeEvaluator API
Comment 2 Martin Entlicher 2014-11-21 13:14:42 UTC
Please review the proposed API change. CodeEvaluator class provides access to code evaluation UI to all debugger implementations.
Comment 3 Martin Entlicher 2014-11-27 13:07:16 UTC
Thanks, I'll push the change tomorrow.
Comment 4 Martin Entlicher 2014-11-28 19:55:10 UTC
Integrated as changeset:   281545:ca400f249d66
http://hg.netbeans.org/core-main/rev/ca400f249d66
Comment 5 Quality Engineering 2014-11-30 04:39:13 UTC
Integrated into 'main-silver', will be available in build *201411300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ca400f249d66
User: mentlicher@netbeans.org
Log: #248626: Code evaluator is moved to spi.debugger.ui module. API class org.netbeans.spi.debugger.ui.CodeEvaluator is introduced.