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 258902

Summary: Cannot step into Ruby from Truffle JavaScript
Product: debugger Reporter: Jaroslav Tulach <jtulach>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2016-04-19 09:31:51 UTC
When debugging mixed Java/JavaScript/Ruby project, I cannot step into Ruby.

1. GraalVM v 0.11 - 2016-04-13 for Linux
2. NetBeans -Dcluster.config=basic build with debugger.jpda.truffle as of Apr 18: netbeans$ hg id
a85e20540d7d tip
3. Sample "sieve" repository @ 4549d5303761f72e4429f8689e27680c946dd953
$ git clone https://github.com/jtulach/sieve.git

Run NetBeans on top of the GraalVM. Open ruby+js/fromjava Maven project. Locate Main.java, put breakpoint to line 31 ("vm.eval(js);"). Debug the project. Once the breakpoint is hit, step into. JavaScript is shown.

Put breakpoint to line 25 (call to "this.natural.next()") where natural comes from Ruby. Continue. When the execution is stopped at line 25, do step into. 

Problem: the Ruby code isn't shown.
Comment 1 Jaroslav Tulach 2016-04-19 13:39:24 UTC
Probably caused by
https://github.com/jruby/jruby/pull/3797

Sorry for bothering.