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.
Summary: | [nashorn] Cannot step into to engine.eval() when eval.js should open | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Debugger | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, pjiricka |
Priority: | P1 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
Vladimir Riha
2014-02-11 11:52:58 UTC
I'm sorry, the URL is http://services.netbeans.org/synergy/server/api/attachment.php?id=197 It seems to work fine on linux Product Version: NetBeans IDE Dev (Build 201402110001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b128 && Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb) It seems like similar case is following: - in the project above, open test1.js and add line breakpoint to line 6 - debug file test1.js - debugger stops on line 6 for the first time => Continue F5 - debugger stops again on line 6 => press Step out Debugger console contains Listening on javadebug User program running Thread main stopped at test1.js:6. User program running Thread main stopped at test1.js:6. User program running Thread main stopped at LambdaForm$MH.invokeExact_MT. Debugger is stopped on some line but it is not visible in editor (line is not highlighted green), common Step Into/Continue are enabled but not working properly (editor still does not reflect debugging state) and IDE log contains The reason is likely no opened project with this source file. Source path "jdk\nashorn\internal\runtime\ScriptFunctionData.java" was not found. The reason is likely no opened project with this source file. Source path "jdk\nashorn\internal\scripts\test1.js" was not found. The reason is likely no opened project with this source file. Source path "jdk\nashorn\internal\scripts\test1.js" was not found. The reason is likely no opened project with this source file. Source path "java\lang\invoke\LambdaForm$MH\LambdaForm$MH" was not found. The reason is likely no opened project with this source file. Reproduced. Fixed by changeset: 272217:223cc90c7721 http://hg.netbeans.org/core-main/rev/223cc90c7721 Integrated into 'main-silver', will be available in build *201402150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/223cc90c7721 User: mentlicher@netbeans.org Log: #241690: Test JS script classes with respect to the Windows paths as well. Thank you, case from description works fine. Case from comment #2 reported as issue 242019. Product Version: NetBeans IDE Dev (Build 201402170649) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) |