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 100952 - [DEBUGGER] Unable to run fast ruby debugger
Summary: [DEBUGGER] Unable to run fast ruby debugger
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 12:20 UTC by Tomas Danek
Modified: 2007-07-03 14:45 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 Tomas Danek 2007-04-13 12:20:42 UTC
NetBeans Ruby IDE 070412
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
en_US (nbrubyide); Cp1252
---------------------------------------
- install fast debugger gems, set it up in Tools|Options
- create ruby app, put BP
- push F5

java.io.IOException: Cannot run program "C:\ruby\bin\rdebug-ide" (in directory
"C:\Documents and Settings\Tomas Musil\My
Documents\NetBeansProjects\RubyApplication15\lib"): CreateProcess error=193, %1
is not a valid Win32 application
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
	at
org.rubyforge.debugcommons.RubyDebuggerFactory.startDebugger(RubyDebuggerFactory.java:109)
	at
org.rubyforge.debugcommons.RubyDebuggerFactory.startRubyDebug(RubyDebuggerFactory.java:100)
	at
org.netbeans.modules.ruby.debugger.RubyDebugger.startDebugging(RubyDebugger.java:110)
	at org.netbeans.modules.ruby.debugger.RubyDebugger.debug(RubyDebugger.java:63)
	at
org.netbeans.modules.ruby.rubyproject.execution.ExecutionService$2.run(ExecutionService.java:282)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:129)
Comment 1 Martin Krauskopf 2007-04-13 12:52:20 UTC
Fixed. Ideally we would run rdebug-ide with "ruby rdebug-ide", not directly with
rdebug-ide[.cmd]. I'll put there more logic soon. Thanks for the catch.

Util.java;
new revision: 1.6; previous revision: 1.5
Comment 2 Tomas Danek 2007-05-25 14:02:58 UTC
works in linux and windows. verified.
Comment 3 Jiri Kovalsky 2007-07-03 14:03:24 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 4 Jiri Kovalsky 2007-07-03 14:45:09 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.