Как добавить точку останова к objc_exception_throw?

И еще одна вещь, которая может вызвать эту проблему:

Я установил новый ADT (v. 22). Прекращено создание папки gen, в которую входит R.java. Решением было также установить новые инструменты сборки Android SDK из Android SDK Manager.

Решение найдено здесь

80
задан Community 23 May 2017 в 11:54
поделиться

1 ответ

I think Brad's answer is pretty clear; hopefully this can help if you're not finding it clear.

In Xcode, from the top menu click on Run > Show > Breakpoints. A new window pops up.

Select "global breakpoints" in the left hand menu. There should be a box on the right under the "Breakpoint" column with the text "Double-Click for symbol". Single-click in this box and type in "objc_exception_throw".

Then, single-click in the space next to "objc_exception_throw" under the "location" column. A box will appear for you to type in the location (in this case, "libobjc.A.dylib"). I've made a screenshot that will hopefully help:

alt text

81
ответ дан 24 November 2019 в 09:56
поделиться