This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
admin:debuggingcrash [2018/10/03 13:18] veera [Where to look] |
admin:debuggingcrash [2018/10/03 13:20] (current) veera [Debugging with a binary with symbols] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ==== Log files ==== | ==== Log files ==== | ||
| - | The log files on the trisul probe are stored under ''/usr/local/var/log/trisul-probe/domain0/probe0/context0'' The latest ''ns-xxx.log'' contains the most recent logs before the crash. You can also use the helper bash aliases : | + | The log files on the trisul probe are stored under ''/usr/local/var/log/trisul-probe/domain0/probe0/context0'' The latest ''ns-xxx.log'' contains the most recent logs before the crash. You can also use the [[https://www.trisul.org/docs/ref/trisbashrc.html|trisbashrc bash aliases]] to navigate the directories as shown below: |
| <code bash> | <code bash> | ||
| + | # add the helper aliases | ||
| source /usr/local/share/trisul-probe/trisbashrc | source /usr/local/share/trisul-probe/trisbashrc | ||
| Line 74: | Line 75: | ||
| # run the special trisul binary we send you like this | # run the special trisul binary we send you like this | ||
| - | gdb --args /home/mike3/trisul -nodemon /usr/local/etc/trisul-probe/domain0/probe0/context0/trisulProbeConfig.xml -mode online_rxring | + | gdb --args /home/mike3/trisul -nodemon \ |
| + | /usr/local/etc/trisul-probe/domain0/probe0/context0/trisulProbeConfig.xml \ | ||
| + | -mode online_rxring | ||
| (...wait...) | (...wait...) | ||