Debugger

Hello list,

Does anyone have any information about the problems I’ve been experiencing with the debugger? This problem was fixed in 1.8 a while back but has managed to get “unfixed”. The problem is that the debugger never stops at a breakpoint.

···


Seth Kurtzberg
MIS Corp
480-661-1849
seth@cql.com

Does anyone have any information about the problems I've been
experiencing with the debugger?

Can you give an example ?

pigeon% ruby -v -rdebug b.rb
ruby 1.8.0 (2003-04-03) [i686-linux]
Debug.rb
Emacs support available.

b.rb:2:a = 12
(rdb:1) b 3
Set breakpoint 1 at b.rb:3
(rdb:1) c
Breakpoint 1, toplevel at b.rb:3
b.rb:3:a += 4
(rdb:1) n
b.rb:4:p a
(rdb:1) c
16
pigeon%

Guy Decoux

I works with a trivial test program but not with a program of any size. Try a program that uses threads.

···

On Fri, 4 Apr 2003 18:40:22 +0900 ts decoux@moulon.inra.fr wrote:

Does anyone have any information about the problems I’ve been
experiencing with the debugger?

Can you give an example ?

pigeon% ruby -v -rdebug b.rb
ruby 1.8.0 (2003-04-03) [i686-linux]
Debug.rb
Emacs support available.

b.rb:2:a = 12
(rdb:1) b 3
Set breakpoint 1 at b.rb:3
(rdb:1) c
Breakpoint 1, toplevel at b.rb:3
b.rb:3:a += 4
(rdb:1) n
b.rb:4:p a
(rdb:1) c
16
pigeon%

Guy Decoux


Seth Kurtzberg
MIS Corp
480-661-1849
seth@cql.com

I works with a trivial test program but not with a program of any size.
Try a program that uses threads.

Well, perhaps it's best if you can give a small program which illustrate
the problem. I've tried with a simple program with threads and it seems to
work.

Guy Decoux