danielpunkass
danielpunkass

In this post, I offer a strategy for using advanced lldb breakpoints to identify code that is generating system console warnings:

indiestack.com/2018/08/l…

|
Embed
Progress spinner
ccgus
ccgus

@danielpunkass Would also searching for "TSM" in your source code have found it?

|
Embed
Progress spinner
danielpunkass
danielpunkass

@ccgus It would have found possible culprits but wouldn’t have clarified whether they are getting run on non-main thread.

|
Embed
Progress spinner
In reply to
ccgus
ccgus

@danielpunkass Gotcha. I really need to get better with lldb, but this is my standard hack for cases like this: FMAssert([NSThread isMainThread]);. My app will stop real quick in lldb when that happens.

|
Embed
Progress spinner
danielpunkass
danielpunkass

@ccgus Yeah, that seems like a good technique if you can identify likely culrprits in code!

|
Embed
Progress spinner