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: | [DEBUGGER] jruby debugger does not work on windows | ||
---|---|---|---|
Product: | ruby | Reporter: | Tomas Danek <musilt2> |
Component: | Code | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | headius, jskrivanek, pjiricka |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 106361 | ||
Attachments: | log file |
Description
Tomas Danek
2007-06-13 15:43:58 UTC
Will look at it as soon as I have Windows machine access. The problem is that JRuby interpreter is not able to handle e.g.: jruby -I"c:\some path\abcd" hello.rb there has to be a space after '-I', like this: jruby -I "c:\some path\abcd" hello.rb Will have time to fix it this evening (will have Windows access). Probably bug in handling parameter in JRuby interpreter's windows scripts (.bat) since "jruby -h" is OK with *not* using the fateful space. Fixed. Canonical paths were not used in the backend. debugger/src/org/netbeans/modules/ruby/debugger/RubyDebugger.java; new revision: 1.33; previous revision: 1.32 external/debug-commons-java-0.7.3.jar; new revision: 1.5; previous revision: 1.4 Martine, did you test this fix? I'm reproducing it using those steps on 20070621 on my XP:( (Build 070621) FINE [org.rubyforge.debugcommons.Util]: Running [basedir: C:\Documents and Settings\Tomas\My Documents\NetBeansProjects\RubyApplication12\lib]: "E:\tmp\netbeans\ruby1\jruby-1.0\bin\jruby.bat -IC:\Documents and Settings\Tomas\My Documents\NetBeansProjects\RubyApplication12\lib -IC:\Documents and Settings\Tomas\My Documents\NetBeansProjects\RubyApplication12\test -I E:\tmp\netbeans\ruby1\ruby\debug-commons-0.9.4 -r C:\Documents and Settings\Tomas\Local Settings\Temp\classic-debug38216.rb -r C:\Documents and Settings\Tomas\Local Settings\Temp\io-synchronizer38217.rb -r classic-debug.rb C:\Documents and Settings\Tomas\My Documents\NetBeansProjects\RubyApplication12\lib\main.rb" however i am not able to run manually from command line, i'm geting "The input line too long" from win console:( Yup, I did test it. Will do again. Might be bug in that paired -Ivalue. But in the end I thought I did not have the problem with that. Will double-check.... It works for on my Windows machine, also XP with the latest pieces. Could you attach your message log to see whether the problem is different from the previous one. Thanks. Created attachment 44201 [details]
log file
Seems to be still the same problem. We will have to investigate on your machine directly. Cannot reproduce now, on some build from m10 branch. Strange. Jirko, you were able to reproduce few days ago (as me), can you help me to verify it in final m10 build, just for sure? It could be the case that the process was not started up in 10s. I adjusted the message in the backend to be at least little less confusing. external/debug-commons-java-0.7.3.jar; new revision: 1.6; previous revision: 1.5 debug-commons-java/manifest.mf; new revision: 1.16; previous revision: 1.15 debugger/nbproject/project.xml; new revision: 1.27; previous revision: 1.26 To Reporter: Could you please verify this issue for M10? Thanks. cannot reproduce in M10 - verified. Product Version: NetBeans IDE 6.0M10 (build 200706251444) Java: 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\Tomas\.netbeans\6.0m10 Reassigning this issue to newly created 'ruby' component. Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build. |