Hello, I want to debug with breakpoint the compose...
# compose-ios
f
Hello, I want to debug with breakpoint the compose iOS library. Starting in Debug and Android Studio, apparently, it doesn’t work. is it possible?
a
Do you mean 1. breakpoints in an iOS app written with Compose, or 2. using a breakpoint, go down into library code? Both working for me in simulator.
f
In a compose for iOS, I want to add breakpoint inside a CoreTextField, for checking the interactionSource, which is not working well, I want to know why. The breakpoint icon is disabled when running the app.
a
How are you navigating to the source you’re looking at?
n
I use lldb to set breakpoints inside libraries
a
I’ve been trying to get my head around how you ensure the sources are linked, in order for breakpoints to work.
n
If a library comes with sources, the AS IDE can show them, and it is naturally to try to set a breakpoint in a opened source file but it really does not work in the most of the cases from the IDE. However, you may open lldb tab, say "b <function name>" and voila debuger stops on such a breakpoint and the IDE can even show the source.
f
So, it needs to be manually set? Then we can step into ?
n
yes
👍 2