stack_trace icon indicating copy to clipboard operation
stack_trace copied to clipboard

A package for manipulating stack traces and printing them readably.

Results 23 stack_trace issues
Sort by recently updated
recently updated
newest added

I cannot find any uses of the `Chain.disable` API outside of the tests in this package. It is unnecessary complexity. Removing the functionality may also remove some of the overhead...

next-breaking-release

There is a someLoggerMethod(Trace.current().frames[1].member) , witch returns the caller function name. Is it a way to insert a caller class link too in console? with result like ``` message, callerFunction...

If I run: ```dart main() { throw 'test'; } ``` I get the output: ``` Unhandled exception: test #0 main (file:///Users/danny/Desktop/dart_sample/bin/trace.dart:2:3) #1 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:297:19) #2 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12) ``` If I...

I made a minimum reproducible example to illustrate my issue : Thanks to Gunthers's answer https://stackoverflow.com/questions/29013591/how-to-get-the-full-stack-trace-for-async-execution, I was able to print the full trace including every function called till the...

https://stackoverflow.com/questions/53641701/stacktrace-is-not-showing-line-numbers-for-every-point I am using Chain.capture(() {...}); to execute async functions in Dart, but some points in StackTrace are not showing the line number, and those lines are the ones I...

The VM Service Protocol provides the [`setExceptionPauseMode`](https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#setexceptionpausemode) API. This API is used by debugging tools like the VSCode Dart Plugin or the IntelliJ Dart plugin when debugging, where the following...

When using Trace.format, some of the Stack Trace isn't being formatted right. In the example below, "# 8" doesn't get formatted right, removing the line number and file name. **Stack...

The doc comment has been misleading, likely since the `when` argument was introduced. There is some nuance to how the argument interacts with the presence of the `onError` argument that...

Our code runs through `Trace.terse`, and we see (repeat) frames with the scheme 'org-dartlang-sdk' logged. I wasn't able to find much via google, and no issues here, but it seems...

Currently I am using `Future main() async { Chain.capture(() { myFunction() }; }` and I am not sure where I should add `Chain.terse` if I want to get rid of...