zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

debugger.md.eex (1151B)


      1 # <%= @title %> at <%= method(@conn) %> <%= @conn.request_path %>
      2 
      3 Exception:
      4 
      5     <%= String.replace(@formatted, "\n", "\n    ") %>
      6 
      7 Code:
      8 <%= for frame <- @frames do %>
      9 `<%= h frame.file %>`
     10 <%= if (snippet = frame.snippet) && snippet != [] do %>
     11     <%= for {index, line, highlight} <- snippet do %><%= if highlight do %><%= h index %>>  <% else %><%= h index %>   <% end %><%= h String.trim_trailing(line) %>
     12     <% end %><% else %>
     13     No code available.
     14 <% end %><%= if frame.args do %>
     15   Called with <%= length(frame.args) %> arguments
     16 
     17   <%= for arg <- frame.args do %>* `<%= h inspect arg %>`
     18   <% end %><% end %><%= if frame.clauses do %><% {min, max, clauses} = frame.clauses %>
     19   Attempted function clauses (showing <%= min %> out of <%= max %>)
     20 
     21     <%= for clause <- clauses do %> <%= clause %>
     22     <% end %>
     23 <% end %><% end %>
     24 
     25 ## Connection details
     26 
     27 ### Params
     28 
     29     <%= inspect(@params) %>
     30 
     31 ### Request info
     32 
     33   * URI: <%= url(@conn) %>
     34   * Query string: <%= @conn.query_string %>
     35 
     36 ### Headers
     37   <%= for {key, value} <- Enum.sort(@conn.req_headers) do %>
     38   * <%= key %>: <%= value %><% end %>
     39 
     40 ### Session
     41 
     42     <%= inspect(@session) %>