anybody else rarely able to get a breakpoint to wo...
# coroutines
k
anybody else rarely able to get a breakpoint to work inside a suspending function?
e
As far as my experience goes, breakpoints work pretty reliably. If you have specific examples where they don’t, please file a bug to youtrack at http://kotl.in/issue
k
i’ll try to make something reproducable. they almost never work while running our product out of the IDE in debug mode
the only pattern i’ve maybe seen is that they will work if the breakpoint was set before the first time the code in question has been executed
they do not work on subsequent executions
e
That is really really strange. Should not really matter.
k
it’s very strange. if i breakpoint outside the first suspending function i can walk my way down into it
but i cannot just break inside the suspending functions
1
m
Sometimes I notice it doesn’t break if I set a breakpoint when an application is already being debugged i.e. breakpoint needs to be set before app is launched
b
@kevinherron you can record a screencast for youtrack bug reports.
👍 1