You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
I'm trying out the tutorial example and got nothing:
/home/netflow/dev/triangle.rb:6
0.upto(n) do |i|
(rdb:1) p tri
0
(rdb:1) display tri
1: tri = 0
(rdb:1) display i
2: i =
(rdb:1) set linetrace on
line tracing is on.
(rdb:1) finish
6
I'm expecting
(rdb:1) display i
2: i =
(rdb:1) set linetrace on
line tracing is on.
(rdb:1) finish
Tracing(1):triangle.rb:7 tri += i
1: tri = 0
2: i = 0
Tracing(1):triangle.rb:7 tri += i
1: tri = 0
2: i = 1
Tracing(1):triangle.rb:7 tri += i
1: tri = 1
2: i = 2
Tracing(1):triangle.rb:7 tri += i
1: tri = 3
2: i = 3
Tracing(1):triangle.rb:9 return tri
1: tri = 6
2: i =
The text was updated successfully, but these errors were encountered:
I've confirmed set linetrace and set linetrace+ don't work in debugger. I've also confirmed they don't work in the latest ruby-debug19. This makes me wonder if they ever worked in 1.9.x. I've leave this as a bug for now. I may eventually remove support for this if no one steps up to fix it (I don't use this feature). It would be nice to have a guide in the future that's specific to debugger
I'm trying out the tutorial example and got nothing:
/home/netflow/dev/triangle.rb:6
0.upto(n) do |i|
(rdb:1) p tri
0
(rdb:1) display tri
1: tri = 0
(rdb:1) display i
2: i =
(rdb:1) set linetrace on
line tracing is on.
(rdb:1) finish
6
I'm expecting
(rdb:1) display i
2: i =
(rdb:1) set linetrace on
line tracing is on.
(rdb:1) finish
Tracing(1):triangle.rb:7 tri += i
1: tri = 0
2: i = 0
Tracing(1):triangle.rb:7 tri += i
1: tri = 0
2: i = 1
Tracing(1):triangle.rb:7 tri += i
1: tri = 1
2: i = 2
Tracing(1):triangle.rb:7 tri += i
1: tri = 3
2: i = 3
Tracing(1):triangle.rb:9 return tri
1: tri = 6
2: i =
The text was updated successfully, but these errors were encountered: