Problems with debugger.

T

TLOlczyk

Hi I'm having trouble with the debugger on three fronts.
First the version of ruby I am using is:

ruby 1.8.2 (2004-12-25) [i386-mswin32]

If I start the debugger from the command line I get this
message:

bash-3.00$ ruby -rdebug ListDir.rb
Debug.rb
Emacs support available.

i:/programs/scripting/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require
'rubygems
'

When I ask for a listing it has stopped on the line:
require 'rubygems'

In Emacs (v 21.4.1) running rubydb I get a prompt but no output:
untill I type the command quit. Then I see the output of the entire
session.

Finally I can't seem to set breakpoints in FreeRIDE.



The reply-to email address is (e-mail address removed).
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.
 
T

TLOlczyk

I forgot. I also have the problem that emacs does not have any menu
entries for the debugger.


The reply-to email address is (e-mail address removed).
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.
 
P

pat eyler

Does this happen for all Ruby programs you try, or just this
one? If just this one, could you post it?

Hi I'm having trouble with the debugger on three fronts.
First the version of ruby I am using is:
=20
ruby 1.8.2 (2004-12-25) [i386-mswin32]

I don't have a windows version to try, but if I can get a
copy of your script I can try it on Linux and Mac OS X
=20
If I start the debugger from the command line I get this
message:
=20
bash-3.00$ ruby -rdebug ListDir.rb
Debug.rb
Emacs support available.
=20
i:/programs/scripting/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require
'rubygems
'
=20
When I ask for a listing it has stopped on the line:
require 'rubygems'
=20
In Emacs (v 21.4.1) running rubydb I get a prompt but no output:
untill I type the command quit. Then I see the output of the entire
session.
=20
Finally I can't seem to set breakpoints in FreeRIDE.
=20
=20

Not a freeride user, sorry.
=20
The reply-to email address is (e-mail address removed).
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,
=20
**
Thaddeus L. Olczyk, PhD
=20
There is a difference between
*thinking* you know something,
and *knowing* you know something.
=20
=20


--=20
thanks,
-pate
 
P

pat eyler

I forgot. I also have the problem that emacs does not have any menu
entries for the debugger.
=20


to start the debugger? You'll need to edit your .emacs to add them,
I have no idea how you'd get debugger commands bound to
buttons in the emacs GUI if that's what you're trying to do.
=20
The reply-to email address is (e-mail address removed).
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,
=20
**
Thaddeus L. Olczyk, PhD
=20
There is a difference between
*thinking* you know something,
and *knowing* you know something.
=20
=20


--=20
thanks,
-pate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,269
Latest member
vinaykumar_nevatia23

Latest Threads

Top