Did you explore possible solutions for debugging g...
# arrow-meta
s
Did you explore possible solutions for debugging generated code?
r
Do you mean to step in with the debugger in the plugin code or debugging generated bytecode? Debugging generated bytecode should be the same for the most part if you use proper source locations. @AdrianRaFo is looking into how all of this looks to IDEA in case we are missing some synthetic descriptors or machinery to make IDEA happy
s
The latter one. I am quite interested if we can provide users some info about generated part, so they can at least understand what is happening. Kapt, for example, gives us generated sources, which is really helpful sometimes. I also know that debugging experience with coroutines is not the best whenever it goes to generated part, and that concerns me a little :)
r
We are currently printing the modified trees next to the ones we modify with full source code. We could potentially even render this in diff mode when debug mode is turned on
non source transformations like IR transformations would require a different strategy