[hg] main-silver: Be able to step through evaluated scripts.

  • From:
  • To:
  • Subject: [hg] main-silver: Be able to step through evaluated scripts.
  • Date: Mon, 04 Nov 2013 22:52:12 +0000

changeset bf973099c689 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/bf973099c689
description:
        Be able to step through evaluated scripts.

diffstat:

 
debugger.jpda.js/src/org/netbeans/modules/debugger/jpda/js/FirstSourceURLProvider.java
 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git 
a/debugger.jpda.js/src/org/netbeans/modules/debugger/jpda/js/FirstSourceURLProvider.java
 
b/debugger.jpda.js/src/org/netbeans/modules/debugger/jpda/js/FirstSourceURLProvider.java
--- 
a/debugger.jpda.js/src/org/netbeans/modules/debugger/jpda/js/FirstSourceURLProvider.java
+++ 
b/debugger.jpda.js/src/org/netbeans/modules/debugger/jpda/js/FirstSourceURLProvider.java
@@ -102,7 +102,8 @@
     }
     
     public String getURL(JPDAClassType clazz, String stratum) {
-        if (!JSUtils.JS_STRATUM.equals(stratum)) {
+        if (!JSUtils.JS_STRATUM.equals(stratum) &&
+            !clazz.getName().startsWith(JSUtils.NASHORN_SCRIPT)) {
             return null;
         }
         Source source = Source.getSource(clazz);

[hg] main-silver: Be able to step through evaluated scripts.

mentlicher 11/04/2013

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close