Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Stack Trace

PhdPhd
edited April 2013 in Suggestions Posts: 17

Hi ,
Please could we get a Stack Trace when errors are detected, it is very difficult to determine what is going on with a complex application, across multiple files. When trying examples on a PC using Lua and the lovecodea system, errors result in a full stack trace, so it is easy to determine where the calls came from, and trace what is going on. I miss this from Codea on the iPad.

Thanks.

Comments

  • IgnatzIgnatz Mod
    Posts: 5,396

    The iPad has some tracing. In Settings, go to General, About, then Diagnostics...

  • Posts: 580

    I agree that a stack trace would be really helpful. Even better would be the ability to specify a custom error handler so that I could format the output myself (debug.trace()'s output leaves a lot to be desired).

  • PhdPhd
    edited April 2013 Posts: 17

    Ignats,
    I am talking about errors in code written in Codea, a stack trace should list all the call references and code line numbers of how the execution of the code reached that point of the error. Codea does point to the line number of the code that fails, but with complex applications there are often many routes through the code to reach that point, this information is vital in determining the root cause of the error.

  • Posts: 666

    Agreed. Print statements everywhere are getting cumbersome.

Sign In or Register to comment.