Show function that thrown error in error message

Show function that thrown error in error message - Messaggi

#1 Pubblicato: 02/04/2016 00:06:10
Mike Kaganski

Mike Kaganski

184 apprezzamenti in 434 post.

Gruppo: User

When an error is encountered, an error message doesn't include necessary details where exactly the error originated from.
In some deep-nested cases it may be difficult to debug some obscure errors because of that.

Please, include the specific function name that thrown the error to the error message.
As a bonus, that would be great to have a function/variable (a-la lastError) to display call stack.
С уважением, Михаил Каганский
2 utenti hanno apprezzato questo post
ioan92 02/04/2016 03:17:00, frapuano 02/04/2016 05:23:00
  • Nuovi post
  • Nessun nuovo post