D
DaZoner
I'm getting an exception when I profile an application of mine. It profiled
just fine under 1.8.1 but I just upgraded to 1.8.2 on Windows.
Below is the output from the run of my app. Note that CLUI.rb is the main
script for the app and line 1 is blank in the file.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
150.00 0.01 0.01 1 15.00 15.00
Profiler__.start_profile
0.00 0.01 0.00 1 0.00 10.00 #toplevel
0.00 0.01 0.00 1 0.00 15.00 Kernel.require
c:/ruby/lib/ruby/1.8/profiler.rb:30: undefined method `[]' for nil:NilClass
(NoMethodError)
from c:/ruby/lib/ruby/1.8/profiler.rb:5:in `require'
from u:/ian/rubyversion/CLUI.rb:2:in `require'
from u:/ian/rubyversion/CLUI.rb:2
just fine under 1.8.1 but I just upgraded to 1.8.2 on Windows.
Below is the output from the run of my app. Note that CLUI.rb is the main
script for the app and line 1 is blank in the file.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
150.00 0.01 0.01 1 15.00 15.00
Profiler__.start_profile
0.00 0.01 0.00 1 0.00 10.00 #toplevel
0.00 0.01 0.00 1 0.00 15.00 Kernel.require
c:/ruby/lib/ruby/1.8/profiler.rb:30: undefined method `[]' for nil:NilClass
(NoMethodError)
from c:/ruby/lib/ruby/1.8/profiler.rb:5:in `require'
from u:/ian/rubyversion/CLUI.rb:2:in `require'
from u:/ian/rubyversion/CLUI.rb:2