Colin Law wrote:
> On 17 August 2010 10:49, Periyasamy Ramachandiran <[email protected]> 
> wrote:
>> [...]
>> Thanks for your reply. I can able to do in controller as well as in
>> model. But in .html.erb file i can't able to debug all the statements.
>> Some lines only getting debugging. I also have the gem
>> ruby-debug-base (0.10.3, 0.10.2)
>> ruby-debug-ide (0.4.9, 0.3.1).
> 
> Can you post the erb code around a debugger statement that is not 
> working?
> Are you certain that execution is getting to the debugger statement?
> 
> Colin


Hi,

FYI.

The below lines are getting debugged,

<%=h "Test Report " + rcnt.to_s %> </h4> <br/>
<%=h "Test - " + @tstarttime %> <br/>


But the below lines are not getting debugging,

<% @tsteps = TstInstance.get_tstnames_by_tsttype(@tstarttime) %>
    <% for rows_steps in @tsteps %>
        <% stepname = rows_steps["steps_name"] %>
        <% @steptime =  rows_steps["steptime"] %>
     <%end%>

I can't see the debugging in the iteration even if i break point for 
each line.

Thanks,
Periyasamy.R
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to