Debugging
silv3rr edited this page Dec 4, 2019
·
1 revision
So you've discovered some bug in wraith? A segfault perhaps?
If you can successfully recreate the bug, please follow the following steps to be able to submit a meaningful ticket.
- Get on the shell where the bot in question is.
- Kill the bot using ps and kill -9, or ./binary -k botname
- ./binary -Dn botname
- Enter in your binary ShellPass at the bash$ prompt
You will see a lot of scrolling at this point.
Now recreate the bug however you can.
When the bot crashes or bugs out, copy out the screen for use in the ticket. I would prefer about 15 lines before the bug and everything after.
In the ticket, you will need to format like this to be able to have it look correct:
```
paste into here.
You need the ``` and ``` surrounding the paste, on separate lines as shown.
```
Page was mirrored from trac at http://wraith.botpack.net