Seeing exception information in AppCode
Asked Answered
T

2

6

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.

Tumblebug answered 28/3, 2013 at 18:3 Comment(0)
A
8

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

Aureaaureate answered 13/4, 2013 at 19:40 Comment(2)
This still doesn't do anything other than logging "Breakpoint reached: when any is thrown". In Xcode I get ... logoView is not a key in the views dictionary. V:|-36-[logoView(43)]-36-[emailTextField(44)]-[passwordTextField(44)]-20-[signInButton(44)]Tumblebug
They instruments, look for zombies.Aureaaureate
B
1

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

Bondie answered 8/4, 2013 at 7:14 Comment(1)
Yes, but that only happens after the exception breakpoint is hitGeranium

© 2022 - 2024 — McMap. All rights reserved.