Skip to content
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

Fixing the stack trace level due to changed while introduced MISS reports #18

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private static void releaseStackTraceArrayList() {
public boolean addFullStackTrace() {
// this is not nice :( we KNOW which level we are so can hard-code this
// but is brittle, and it depends on where the trace collection happens
final int START_STACK = 4;
final int START_STACK = 5;
StackTraceElement[] stackTraces = Thread.currentThread().getStackTrace();
final int stackTraceMaxDepth;
if (Agent.FULL_STACK_TRACES_LIMIT <= 0) {
Expand Down