Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)

Reply
Thread Tools

Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)

 
 
Allan Chin
Guest
Posts: n/a
 
      11-17-2010
And while we're at it, would you know why if I debug with the "slow"
debugger, I get these errors?

================================================== ========================
ruby 1.9.2 debugger listens on port 49296
--- !ruby/exception:NoMethodError
message: undefined method `critical=' for Thread:Class
---
- C:/Program Files/NetBeans
6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:269:in `trace_off'
- C:/Program Files/NetBeans
6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:279:in `block in
read_command_loop'
- C:/Program Files/NetBeans
6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:275:in `loop'
- C:/Program Files/NetBeans
6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:275:in
`read_command_loop'
- C:/Program Files/NetBeans
6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:330:in `block in
<classC_DEBUGGER__>'
================================================== ========================

They get resolved when debugging with the "fast" debugger. This is the
reason why I had to start down that "fast debugger" path. Is this
related or should this be a different topic?

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Roger Pack
Guest
Posts: n/a
 
      11-17-2010
================================================== ========================
> ruby 1.9.2 debugger listens on port 49296
> --- !ruby/exception:NoMethodError
> message: undefined method `critical=' for Thread:Class
> ---
> - C:/Program Files/NetBeans
> 6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:269:in `trace_off'
> - C:/Program Files/NetBeans


with 1.9.x Thread#critical= was removed
maybe 1.8.x would work?
@Luis maybe we should provide people of a zip that includes a working
gcc+ruby, so that when weirdness happens they can use it and (it
hopefully work).
-r

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Luis Lavena
Guest
Posts: n/a
 
      11-17-2010
On Nov 17, 9:06*am, Roger Pack <(E-Mail Removed)> wrote:
> @Luis maybe we should provide people of a zip that includes a working
> gcc+ruby, so that when weirdness happens they can use it and (it
> hopefully work).


Roger, that is DevKit.

Not going to provide another type of downloads. We already have lot of
confusion about what version of what to download and how to install.

--
Luis Lavena
 
Reply With Quote
 
Allan Chin
Guest
Posts: n/a
 
      11-17-2010
Roger Pack wrote in post #962115:
> ================================================== ========================
>> ruby 1.9.2 debugger listens on port 49296
>> --- !ruby/exception:NoMethodError
>> message: undefined method `critical=' for Thread:Class
>> ---
>> - C:/Program Files/NetBeans
>> 6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:269:in `trace_off'
>> - C:/Program Files/NetBeans

>
> with 1.9.x Thread#critical= was removed
> maybe 1.8.x would work?
> @Luis maybe we should provide people of a zip that includes a working
> gcc+ruby, so that when weirdness happens they can use it and (it
> hopefully work).
> -r


Roger - I don't think this is a version problem because on my other dev
machine with Visual Studio installed. I am able to successfully install
the fast debugger and with the same 1.9.2, those undefined methods get
resolved.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Luis Lavena
Guest
Posts: n/a
 
      11-17-2010
On Nov 17, 11:58*am, Allan Chin <(E-Mail Removed)> wrote:
> Roger Pack wrote in post #962115:
>
> > ================================================== ========================
> >> ruby 1.9.2 debugger listens on port 49296
> >> --- !ruby/exception:NoMethodError
> >> message: undefined method `critical=' for Thread:Class
> >> ---
> >> - C:/Program Files/NetBeans
> >> 6.9.1/ruby/ruby/debug-commons-0.9.5/classic-debug.rb:269:in `trace_off'
> >> - C:/Program Files/NetBeans

>
> > with 1.9.x Thread#critical= was removed
> > maybe 1.8.x would work?
> > @Luis maybe we should provide people of a zip that includes a working
> > gcc+ruby, so that when weirdness happens they can use it and (it
> > hopefully work).
> > -r

>
> Roger - I don't think this is a version problem because on my other dev
> machine with Visual Studio installed. I am able to successfully install
> the fast debugger and with the same 1.9.2, those undefined methods get
> resolved.


Hello Allan, please stop comparing your Visual Studio vs this
installation. The versions of Ruby and the configuration are not the
same.

You have not provided any information about the that specific Ruby
installation (where and how you got it) and if you're actually
compiling things with Visual Studio or not.

It is clear that compilation itself is not working on your
environment, which we need to investigate. I've requested you fill in
the form for us to look at environment variables that might be
affecting GCC. Did you complete it?

--
Luis Lavena
 
Reply With Quote
 
Allan Chin
Guest
Posts: n/a
 
      11-17-2010
Yes, I filled in the form and posted on the Google rubyinstaller group
yesterday.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Roger Pack
Guest
Posts: n/a
 
      11-17-2010
>
> Roger - I don't think this is a version problem because on my other dev
> machine with Visual Studio installed. I am able to successfully install
> the fast debugger and with the same 1.9.2, those undefined methods get
> resolved.


If that's the case then you'll probably have to dig down deep into your
log files for linecache and try and reproduce the problem and see what
is going on.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
devkit not able to find ruby installation Stephen Boesch Ruby 2 04-09-2011 03:29 PM
NArray install fail with DevKit on Win Chris Lervag Ruby 3 03-29-2011 07:33 AM
[ANN] RubyInstaller DevKit 4.5.1 Released Jon Ruby 0 12-15-2010 09:38 PM
jEdit: compiles JDK 1.5.0 ok, but runs JDK 1.4.1 (why?) Thomas G. Marshall Java 5 08-06-2004 04:12 AM
Help with converting IDS from JDK 1.1 to JDK 1.4 Babar Java 1 05-20-2004 09:11 PM



Advertisments