-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x] RxJavaAssemblyTracking stack trace is not printed #76
Comments
It is designed to manually extract the stacktrace: https://github.com/akarnokd/RxJavaExtensions/blob/3.x/src/test/java/hu/akarnokd/rxjava3/debug/RxJava3AssemblyTrackingTest.java#L91 |
I noticed it after deeper debugging. What about setting |
I don't remember exactly why it doesn't do it, but most likely due to it breaking IDE stacktrace displaying. |
Do you remember which IDE could that be? In IntelliJ, printing it as an exception message works well. |
Eclipse had certainly trouble with it. It is the very same situation as with ReactiveX/RxJava#6748 where the exception has to be carefully re-engineered. You are welcome to try modifying the class and see if it works in Eclipse and IntelliJ as you'd expect. |
Closing via #77. |
My test code:
The result in console:
As it can be seen, there is no stack trace printed inside
RxJavaAssemblyException
. I'm using OpenJDK11, compiling to Java 8 (tested on JDK8 with same result). During debug, it can be seen that there isString RxJavaAssemblyException.stacktrace
field which has been filled properly but seems it's not used anywhere.Maven dependencies:
The text was updated successfully, but these errors were encountered: