| ... | @@ -1999,7 +1999,7 @@ pub fn ConfigurableTrace(comptime size: usize, comptime stack_frame_count: usize | ... | @@ -1999,7 +1999,7 @@ pub fn ConfigurableTrace(comptime size: usize, comptime stack_frame_count: usize |
| 1999 | | 1999 | |
| 2000 | const tty_config = detectTTYConfig(); | 2000 | const tty_config = detectTTYConfig(); |
| 2001 | const stderr = io.getStdErr().writer(); | 2001 | const stderr = io.getStdErr().writer(); |
| 2002 | const end = @maximum(t.index, size); | 2002 | const end = @minimum(t.index, size); |
| 2003 | const debug_info = getSelfDebugInfo() catch |err| { | 2003 | const debug_info = getSelfDebugInfo() catch |err| { |
| 2004 | stderr.print( | 2004 | stderr.print( |
| 2005 | "Unable to dump stack trace: Unable to open debug info: {s}\n", | 2005 | "Unable to dump stack trace: Unable to open debug info: {s}\n", |