Skip to content

Conversation

StefanKruk
Copy link
Collaborator

@StefanKruk StefanKruk commented Sep 16, 2025

Sometimes it is not possible to extract the Stacktrace directly in a form that IntelliJ is able to display. Instead SAP Cloud Logging provides it as JSON Statement:

image

If the JSON would be used directly in the "Analyze Stack trace" window:
image
it would be displayed as
image

with this Feature we make use of the Unscrable Feature of IntelliJ https://www.jetbrains.com/help/idea/analyzing-external-stacktraces.html

via "Analyze Stack trace" Windows in IntelliJ it is now possible to also properly unscramble it and display as proper Stacktrace.

image image

Via Listener it is also possible to display the Stacktrace directly when the JSON was copied from the SAP Cloud Logging and the User goes into IntelliJ for displaying the JSON.

Also the Classes and Methods are directly clickable

Signed-off-by: Stefan Kruk [email protected]

Copy link
Collaborator

@mlytvyn mlytvyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StefanKruk , could you please add some screenshots and use case ? It would be easier to review the code, thank you!

@github-project-automation github-project-automation bot moved this from To Do to In Progress in SAP Commerce Developers Toolset Sep 17, 2025
@mlytvyn mlytvyn merged commit 3ca6eb4 into epam:main Sep 17, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in SAP Commerce Developers Toolset Sep 17, 2025
@mlytvyn mlytvyn changed the title Add SAP CCv2 Json Stacktrace Unscrambler CCv2 | Unscramble Json Stacktrace Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants