<% unless @exception.blamed_files.blank? %> <% if (hide = @exception.blamed_files.length > 8) %> Show blamed files <% end %>
><%=h @exception.describe_blame %>
<% end %> <% if defined?(Breakpoint) %>

<% begin %> <%= form_tag(@request.request_uri, "method" => @request.method) %> <% for key, values in @params %> <% next if key == "BP-RETRY" %> <% for value in Array(values) %> <% end %> <% end %> <% rescue Exception => e %> <%=h "Couldn't render breakpoint link due to #{e.class} #{e.message}" %> <% end %> <% end %> <% request_parameters_without_action = @request.parameters.clone request_parameters_without_action.delete("action") request_parameters_without_action.delete("controller") request_dump = request_parameters_without_action.inspect.gsub(/,/, ",\n") session_dump = @request.session.instance_variable_get("@data").inspect.gsub(/,/, ",\n") response_dump = @response.inspect.gsub(/,/, ",\n") %>

Request

Parameters: <%=h request_dump == "{}" ? "None" : request_dump %>

Show session dump

Response

Headers: <%=h @response.headers.inspect.gsub(/,/, ",\n") %>