Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Seeing exception information in AppCode

I've been testing AppCode and I can't seem to find any information as to WHY an app is crashing.

I've added an exception breakpoint and I can see the line of code causing the crash but no info on why.

In Xcode the exception reason is printed into the console but in AppCode I just get "Exception = Exception Breakpoint".

Can someone point me in the direction of getting useful information out of the crash.

like image 512
Fogmeister Avatar asked Mar 28 '13 18:03

Fogmeister


2 Answers

AppCode, Choses Run, View Break points settings, Click on "Log message to console" by default it is off.

Command liners use, shift-fn-command-f8

AppCode Run, View Breakpoint or shift-fn-command-f8

like image 75
nolimitsdude Avatar answered Nov 09 '22 14:11

nolimitsdude


AppCode also prints the exception in the console, providing that you launch the app in debug mode (as, actually, the debugger does it).

like image 31
Anton Makeev Avatar answered Nov 09 '22 13:11

Anton Makeev