Home | History | Annotate | Download | only in findit

Lines Matching refs:stacktrace

9 import stacktrace
13 """Preprocesses stacktrace string into two parts, release and debug.
16 stacktrace_string: A string representation of stacktrace,
20 A tuple of list of strings, release build stacktrace and
21 debug build stacktrace.
23 # Make sure we only parse release/debug build stacktrace, and ignore
24 # unsymbolised stacktrace.
30 # Iterate through all lines in stacktrace.
34 # If the line starts with +, it signifies the start of new stacktrace.
36 if 'Release Build Stacktrace' in line:
41 elif 'Debug Build Stacktrace' in line:
46 # If the stacktrace is neither release/debug build stacktrace, ignore
47 # all lines after it until we encounter release/debug build stacktrace.
52 # the current stacktrace.
75 stacktrace_string: A string representing stacktrace.
183 # Parsed DEPS is used to normalize the stacktrace. Since parsed regression
193 # Split stacktrace into release build/debug build and parse them.
197 parsed_release_build_stacktrace = stacktrace.Stacktrace(
200 parsed_release_build_stacktrace = stacktrace.Stacktrace(
203 parsed_debug_build_stacktrace = stacktrace.Stacktrace(
206 # Get a highest priority callstack (main_stack) from stacktrace, with release
207 # build stacktrace in higher priority than debug build stacktace. This stack
215 return ('No line information available in stacktrace.', [])
219 # Run the algorithm on the parsed stacktrace, and return the result.