Skip to content

Refactor Client/Host cross process exception propagation - #1236

Merged
d4rken merged 2 commits into
mainfrom
cross-process-logging
Jun 20, 2024
Merged

d4rken merged 2 commits into
mainfrom
cross-process-logging

Conversation

@d4rken

@d4rken d4rken commented Jun 20, 2024

Copy link
Copy Markdown
Member

#1233 and #1234 would have been easier to debug with this.

It's not as good as I hoped for because the stacktrace doesn't propagate through the binder correctly. Serializing the trace into the exception message is hackyasf but I didn't find a better solution. If anyone finds a better way 🍻 are on me. This is only used if isDebug==true so I think we can live with the hacky solution.

d4rken added 2 commits June 20, 2024 16:32
…a full stacktrace across the process boundary.

Not super clean but just used in debug mode and I found no other way :8
@d4rken d4rken added enhancement New feature, request, improvement or optimization Root ADB ADB/Shizuku related c: Debug Debugging related features/issues labels Jun 20, 2024
@d4rken
d4rken merged commit c8963f3 into main Jun 20, 2024
@d4rken
d4rken deleted the cross-process-logging branch June 20, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ADB ADB/Shizuku related c: Debug Debugging related features/issues enhancement New feature, request, improvement or optimization Root

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant