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 179364

Summary: Classpath not set correctly when debugging
Product: ruby Reporter: Erno Mononen <emononen>
Component: DebuggerAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Erno Mononen 2010-01-11 03:08:03 UTC
See http://forums.netbeans.org/viewtopic.php?t=21930&sid=2b46aea52793f04f323756e910a75300

Workaround is to explicitly add

require 'myjar.jar' to the file.
Comment 1 Erno Mononen 2010-03-18 15:14:20 UTC
Fixed in 8776e6b8f1bf. Note that with more than one jar in the classpath this still doesn't work with JRuby 1.4.0 due to http://jira.codehaus.org/browse/JRUBY-4265. It works when running since in that case the IDE can use the -classpath switch, but the debugger has to set the classpath through the CLASSPATH env variable.
Comment 2 Quality Engineering 2010-03-24 05:20:17 UTC
Integrated into 'main-golden', will be available in build *201003240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8776e6b8f1bf
User: Erno Mononen <emononen@netbeans.org>
Log: #179364 - Classpath not set correctly when debugging