This project is archived and is in readonly mode.
Rails test file debugging in Komodo doesn't work when ruby-debug is installed
Reported by ericp (at activestate) | July 9th, 2009 @ 07:02 PM | in 2.3.9
You can debug test files in Komodo by setting the current
directory
to /test. Komodo used to stop at breakpoints, but on systems
that have ruby-debug-cli or ruby-debug-ide installed, it now
ignores the breakpoints, and emits a large traceback that starts
like so:
INTERNAL ERROR!!! You have a nil object when you didn't expect
it!
The error occurred while evaluating nil.has_key?
c:/ruby/lib/ruby/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/command.rb:62:in `method_missing'
...
The problem is that the framework has loaded ruby-debug, even
though another
debugger using ruby-debug-base is already in effect.
Reference Komodo bug http://bugs.activestate.com/show_bug.cgi?id=83676
Comments and changes to this ticket
-
ericp (at activestate) July 9th, 2009 @ 07:08 PM
- Tag changed from debug, komodo, testunit to patch
Here's a patch --
-
Michael Koziarski August 3rd, 2009 @ 06:11 AM
- Milestone changed from 2.x to 2.3.4
-
Jeremy Kemper September 11th, 2009 @ 11:04 PM
- Milestone changed from 2.3.4 to 2.3.6
[milestone:id#50064 bulk edit command]
-
Rohit Arondekar June 19th, 2010 @ 05:16 PM
Any updates to this ticket? Does the issue still exist on Rails 2.3.8 or Rails master?
-
ericp (at activestate) June 21st, 2010 @ 06:59 PM
The code in master hasn't been changed, but when I run
a cloned master with ruby 1.8.6 I can't duplicate
the problem while debugging both the app and a test.This was on a freshly built Fedora 10 box, with my
own compiled Ruby 1.8.6. I would still prefer the
code to be patched though. -
Rohit Arondekar June 22nd, 2010 @ 06:35 AM
ericp, can you try the same with 2.3.8 or 2-3-stable branch?
If the issue can't be reproduced I think it's best to close the ticket.
-
Rohit Arondekar June 23rd, 2010 @ 02:09 PM
- State changed from new to invalid
ericp, I'm closing the ticket. If you can reproduce the issue just make a comment and I'll re-open.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>