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 251860 - [nashorn] Evaluate button is disabled in the first debugger session
Summary: [nashorn] Evaluate button is disabled in the first debugger session
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-15 15:31 UTC by Martin Entlicher
Modified: 2015-05-06 15:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-04-15 15:31:05 UTC
Start debugger on a project containing JavaScript executed via Nashorn.
After suspend in the JavaScript code, open Evaluator (Debug -> Evaluate Expression). The Evaluate button remains disabled even after some code is written into the text area.
It usually gets fixed in a next debugging session.
Comment 1 Martin Entlicher 2015-04-15 15:36:11 UTC
Fixed by changeset:   286728:67a2df25652a
http://hg.netbeans.org/core-main/rev/67a2df25652a
Comment 2 Quality Engineering 2015-04-17 03:02:32 UTC
Integrated into 'main-silver', will be available in build *201504170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/67a2df25652a
User: mentlicher@netbeans.org
Log: #251860: Make evaluator work in all JPDA debug engines, since we have evaluations via o.n.s.d.j.Evaluator API.
Comment 3 Jiri Kovalsky 2015-05-06 15:41:55 UTC
Product Version: NetBeans IDE Dev (Build 201505060001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

"Evaluate" button now gets enabled fine. Verifying.