The Stacktrace Utility tool resolves custom stacktraces to help you debug crashes. You can select Stacktrace Utility tag to open the Stacktrace Utility window.
For more information, you can click the following link to reach directly:
To open the Stacktrace Utility window:
Area | Description |
---|---|
1 | Stacktrace display: Contains a text area to enter a custom stacktrace, and a text area to display the resolved stacktrace. |
2 | Path settings: Contains settings includes symbol paths, stacktrace regex, symbol extensions. |
The stacktrace display contains two tabs and a button:
Before you use the Stacktrace Utility tool, you must provide it with the resources it requires to resolve stacktraces.
To resolve stacktrace for an application, the Stacktrace Utility tool requires paths to the libmain
, libtuanjie
, and libil2cpp
symbol files. To configure these paths:
libmain
, libunity
, and libil2cpp
symbol files and add the folder that each of them are within.Note: When the Stacktrace Utility tool resolves stacktraces, it iterates through the symbol path list and uses the first located version of each symbol file. If you use more than one symbol path, be aware of symbol files with the same file name in multiple folders, because the tool only uses the first one it finds.
The Stacktrace Utility tool uses regular expressions to parse entries. By default, the tool contains regular expressions that parse the address and library name from each entry, but you can add your own regular expressions to resolve addresses and library names.
To add your own regular expressions, you can enter your regular expression and click Add in the text input field.
Note: From the regular expressions list, the one at the top is used for resolving the function address and library name. If it fails, the next one in the order is used as a fallback. You can modify the order as per your preference.
Use the Symbol Extensions setting to specify file extensions which are appended to symbol file names during stacktrace resolving.
To add your own regular expressions, you can enter your symbol extensions and click Add in the text input field.
To use the Stacktrace Utility tool to resolve a stacktrace for your application: