Home
last modified time | relevance | path

Searched full:stacktrace (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/external/cronet/base/debug/
Dstack_trace_nacl.cc10 StackTrace::StackTrace() = default;
11 StackTrace::StackTrace(size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
12 StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
14 void StackTrace::Print() const {} in Print()
16 void StackTrace::OutputToStream(std::ostream* os) const {} in OutputToStream()
18 std::string StackTrace::ToString() const { in ToString()
22 std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { in ToStringWithPrefix()
26 std::ostream& operator<<(std::ostream& os, const StackTrace& s) { in operator <<()
Dstack_trace.h63 // A stacktrace can be helpful in debugging. For example, you can include a
64 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
66 class BASE_EXPORT StackTrace {
78 // Creates a stacktrace from the current location.
79 StackTrace();
81 // Creates a stacktrace from the current location, of up to |count| entries.
83 explicit StackTrace(size_t count);
85 // Creates a stacktrace from an existing array of instruction
88 StackTrace(const void* const* trace, size_t count);
91 // Creates a stacktrace for an exception.
[all …]
Dstack_trace.cc218 StackTrace::StackTrace() : StackTrace(std::size(trace_)) {} in StackTrace() function in base::debug::StackTrace
220 StackTrace::StackTrace(size_t count) { in StackTrace() function in base::debug::StackTrace
224 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in base::debug::StackTrace
232 bool StackTrace::WillSymbolizeToStreamForTesting() { in WillSymbolizeToStreamForTesting()
238 // StackTrace::OutputToStream() is not implemented under uclibc, nor AIX. in WillSymbolizeToStreamForTesting()
251 // Under Fuchsia and Android, StackTrace emits executable build-Ids and in WillSymbolizeToStreamForTesting()
264 void StackTrace::Print() const { in Print()
268 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
272 std::string StackTrace::ToString() const { in ToString()
275 std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { in ToStringWithPrefix()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt41 val stackTrace = stackTrace in sanitizeStackTrace() constant
42 val size = stackTrace.size in sanitizeStackTrace()
43 val lastIntrinsic = stackTrace.indexOfLast { stackTraceRecoveryClassName == it.className } in sanitizeStackTrace()
45 val endIndex = stackTrace.firstFrameIndex(baseContinuationImplClassName) in sanitizeStackTrace()
51 stackTrace[startIndex + it - 1] in sanitizeStackTrace()
67 * Here we are checking whether exception has already recovered stacktrace. in recoverFromStackFrame()
68 * If so, we extract initial and merge recovered stacktrace and current one in recoverFromStackFrame()
72 // Try to create an exception of the same type and get stacktrace from continuation in recoverFromStackFrame()
74 // Update stacktrace in recoverFromStackFrame()
75 val stacktrace = createStackTrace(continuation) in recoverFromStackFrame() constant
[all …]
/external/google-cloud-java/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/
DStackTrace.java28 * Protobuf type {@code google.devtools.cloudtrace.v2.StackTrace}
30 public final class StackTrace extends com.google.protobuf.GeneratedMessageV3 class
32 // @@protoc_insertion_point(message_implements:google.devtools.cloudtrace.v2.StackTrace)
35 // Use StackTrace.newBuilder() to construct.
36 private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in StackTrace() method in StackTrace
40 private StackTrace() {} in StackTrace() method in StackTrace
45 return new StackTrace(); in newInstance()
64 com.google.devtools.cloudtrace.v2.StackTrace.class, in internalGetFieldAccessorTable()
65 com.google.devtools.cloudtrace.v2.StackTrace.Builder.class); in internalGetFieldAccessorTable()
70 … // @@protoc_insertion_point(interface_extends:google.devtools.cloudtrace.v2.StackTrace.StackFrame)
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-stacktrace.tc3 # description: event trigger - test stacktrace-trigger
11 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger`
13 echo "stacktrace trigger is not supported"
17 echo "Test stacktrace trigger"
19 echo 0 > options/stacktrace
20 echo 'stacktrace' > events/sched/sched_process_fork/trigger
23 fail "stacktrace trigger on sched_process_fork did not work"
27 echo "Test stacktrace semantic errors"
29 ! echo "stacktrace:foo" > events/sched/sched_process_fork/trigger
30 echo "stacktrace" > events/sched/sched_process_fork/trigger
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
24 StackTrace stack = StackDepotGet(i1); in TEST()
31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST()
36 u32 i1 = StackDepotPut(StackTrace()); in TEST()
37 StackTrace stack = StackDepotGet(i1); in TEST()
42 StackTrace stack = StackDepotGet(0); in TEST()
48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
52 StackTrace stack = StackDepotGet(i1); in TEST()
60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/util/
Dstack_trace.h47 class StackTrace final {
51 StackTrace() {} in StackTrace() function
53 // Returns `StackTrace` object that captures the current Python stack trace.
59 static StackTrace Capture(int limit) { in Capture()
63 StackTrace result; in Capture()
80 ~StackTrace() { Clear(); } in ~StackTrace()
82 StackTrace(StackTrace&& other) { std::swap(code_objs_, other.code_objs_); } in StackTrace() function
86 StackTrace& operator=(StackTrace&& other) {
115 StackTrace(const StackTrace&) = delete;
116 StackTrace& operator=(const StackTrace&) = delete;
[all …]
/external/cronet/third_party/libc++/src/modules/std/
Dstacktrace.cppm11 #if __has_include(<stacktrace>)
13 # include <stacktrace>
16 export module std:stacktrace;
19 // [stacktrace.entry], class stacktrace_­entry
22 // [stacktrace.basic], class template basic_­stacktrace
25 // basic_­stacktrace typedef-names
26 using std::stacktrace;
28 // [stacktrace.basic.nonmem], non-member functions
36 using std::pmr::stacktrace;
39 // [stacktrace.basic.hash], hash support
Dstacktrace.inc12 // [stacktrace.entry], class stacktrace_­entry
15 // [stacktrace.basic], class template basic_­stacktrace
18 // basic_­stacktrace typedef-names
19 using std::stacktrace;
21 // [stacktrace.basic.nonmem], non-member functions
29 using std::pmr::stacktrace;
32 // [stacktrace.basic.hash], hash support
/external/kotlinx.coroutines/docs/topics/
Ddebugging.md7 * [Stacktrace recovery](#stacktrace-recovery)
8 * [Stacktrace recovery machinery](#stacktrace-recovery-machinery)
17 …`kotlinx.coroutines` comes with additional features for debugging: debug mode, stacktrace recovery
31 ## Stacktrace recovery
33 Stacktrace recovery is another useful feature of debug mode. It is enabled by default in the debug …
34 but can be separately disabled by setting `kotlinx.coroutines.stacktrace.recovery` system property …
36 Stacktrace recovery tries to stitch asynchronous exception stacktrace with a stacktrace of the rece…
52 ### Stacktrace recovery machinery
54 This section explains the inner mechanism of stacktrace recovery and can be skipped.
56 …n between coroutines (e.g. through `withContext` or `Deferred.await` boundary), stacktrace recovery
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java31 private final String stackTrace; field in FailureLogMessage
37 public FailureLogMessage(String stackTrace) { in FailureLogMessage() argument
38 this.stackTrace = checkNotNull(stackTrace); in FailureLogMessage()
41 public String stackTrace() { in stackTrace() method in FailureLogMessage
42 return stackTrace; in stackTrace()
52 return stackTrace.hashCode(); in hashCode()
61 return this.stackTrace.equals(that.stackTrace); in equals()
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java53 String stackTrace= ""; in logResults() local
56 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
63 stackTrace, in logResults()
88 String stackTrace= ""; in logResults() local
91 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
95 logResult("FAILED", tr, stackTrace); in logResults()
101 logResult("SKIPPED", tr, throwable != null ? Utils.stackTrace(throwable, false)[0] : null); in logResults()
124 private void logResult(String status, ITestResult tr, String stackTrace) { in logResult() argument
125 logResult(status, tr.getName(), tr.getMethod().getDescription(), stackTrace, in logResult()
140 String description, String stackTrace, in logResult() argument
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs39 using StackTrace = System.Diagnostics.StackTrace; typedef
69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
71 for (; i < stackTrace.FrameCount; i++) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
95 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
97 <stackTrace; separator="\n">
/external/robolectric/sandbox/src/test/java/org/robolectric/
DShadowWranglerIntegrationTest.java117 StackTraceElement[] stackTrace = e.getStackTrace(); in shouldRemoveNoiseFromShadowedStackTraces() local
119 assertThat(stackTrace[0].getClassName()).isEqualTo(ShadowThrowInShadowMethod.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
120 assertThat(stackTrace[0].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
121 assertThat(stackTrace[0].getLineNumber()).isGreaterThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
123 assertThat(stackTrace[1].getClassName()).isEqualTo(ThrowInShadowMethod.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
124 assertThat(stackTrace[1].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
125 assertThat(stackTrace[1].getLineNumber()).isLessThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
127 … assertThat(stackTrace[2].getClassName()).isEqualTo(ShadowWranglerIntegrationTest.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
128 assertThat(stackTrace[2].getMethodName()).isEqualTo("shouldRemoveNoiseFromShadowedStackTraces"); in shouldRemoveNoiseFromShadowedStackTraces()
129 assertThat(stackTrace[2].getLineNumber()).isGreaterThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/exception/
DMacroOverflowException.java55 * @param stacktrace VTL stacktrace
58 …verflowException(final String exceptionMessage, final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
60 super(exceptionMessage, wrapped, stacktrace); in MacroOverflowException()
73 * @param stacktrace VTL stacktrace
76 public MacroOverflowException(final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
78 super(wrapped, stacktrace); in MacroOverflowException()
DResourceNotFoundException.java64 * @param stacktrace VTL stacktrace
68 …ourceNotFoundException(final String exceptionMessage, final Throwable t, final String[] stacktrace) in ResourceNotFoundException() argument
70 super(exceptionMessage, t, stacktrace); in ResourceNotFoundException()
85 * @param stacktrace VTL stacktrace
89 public ResourceNotFoundException(final Throwable t, String[] stacktrace) in ResourceNotFoundException() argument
91 super(t, stacktrace); in ResourceNotFoundException()
/external/libchrome/base/debug/
Dstack_trace.h52 // A stacktrace can be helpful in debugging. For example, you can include a
53 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
55 class BASE_EXPORT StackTrace {
57 // Creates a stacktrace from the current location.
58 StackTrace();
60 // Creates a stacktrace from the current location, of up to |count| entries.
62 explicit StackTrace(size_t count);
64 // Creates a stacktrace from an existing array of instruction
67 StackTrace(const void* const* trace, size_t count);
70 // Creates a stacktrace for an exception.
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DDebugProbesImpl.kt117 if (info == null) { // Append coroutine without stacktrace in <lambda>()
127 // Append coroutine with its last stacktrace element in <lambda>()
290 "${info.state} (Last suspension stacktrace, not an actual stacktrace)" in <lambda>()
333 val actualTrace = runCatching { thread.stackTrace }.getOrNull() in <lambda>()
345 * in continuation stacktrace. in <lambda>()
346 * 3) Find target method in continuation stacktrace (metadata-based) in <lambda>()
347 * 4) Prepend dumped stacktrace (trimmed by target frame) to continuation stacktrace in <lambda>()
380 * Tries to find the lowest meaningful frame above `resumeWith` in the real stacktrace and in <lambda>()
381 * its match in a coroutines stacktrace (steps 2-3 in heuristic). in <lambda>()
385 …ext one is made because state machine could have been missing in the original coroutine stacktrace. in <lambda>()
[all …]
/external/opencensus-java/buildscripts/
Dtravis_script18 ./gradlew clean assemble check --stacktrace
21 ./gradlew clean assemble check --stacktrace
24 ./gradlew clean assemble check --stacktrace
27 ./gradlew clean assemble --stacktrace
40 ./gradlew clean assemble --stacktrace
53 …pushd examples && ./gradlew clean assemble --stacktrace && ./gradlew check && ./gradlew verGJF && …
54 …pushd examples/spring/servlet && ./gradlew clean assemble --stacktrace && ./gradlew check && ./gra…
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h39 struct StackTrace { struct
49 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument
50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() argument
51 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() function
54 // Prints a symbolized stacktrace, followed by an empty line.
74 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument
89 // StackTrace that owns the buffer used to store the addresses.
90 struct BufferedStackTrace : public StackTrace {
94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace()
136 uptr pc = StackTrace::GetCurrentPc(); \
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
40 <stackTrace; separator="\n">
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
46 <stackTrace; separator="\n">
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
55 <stackTrace; separator="\n">
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/
DCoroutineInfo.kt13 * Class describing coroutine info such as its context, state and stacktrace.
36 * Creation stacktrace of the coroutine.
44 * Last observed stacktrace of the coroutine captured on its suspension or resumption point.
45 * It means that for [running][State.RUNNING] coroutines resulting stacktrace is inaccurate and
46 * reflects stacktrace of the resumption point, not the actual current stacktrace.
60 // Skip "Coroutine creation stacktrace" frame in creationStackTrace()
/external/cronet/net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/
Dquiche_stack_trace_impl.cc10 #include "absl/debugging/stacktrace.h"
24 std::vector<void*> stacktrace(kMaxStackSize, nullptr); in QuicheStackTraceImpl() local
25 int num_frames = absl::GetStackTrace(stacktrace.data(), stacktrace.size(), in QuicheStackTraceImpl()
30 stacktrace.resize(num_frames); in QuicheStackTraceImpl()
33 for (void* function : stacktrace) { in QuicheStackTraceImpl()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DExceptionExtensions.cs48 StackTrace trace = new StackTrace(e, true); in getStackTrace()
52 Array stackTrace = new StackTrace(true).GetFrames(); in getStackTrace()
53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length); in getStackTrace()
75 string trace = e.StackTrace ?? string.Empty; in PrintStackTrace()

12345678910>>...47