Browse Source

developing: Add advice for debugging hangs

tags/v0.7.0
Daniel Oaks 7 years ago
parent
commit
479cd376d2
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      DEVELOPING.md

+ 9
- 0
DEVELOPING.md View File

@@ -34,3 +34,12 @@ https://github.com/DanielOaks/irc-stress-test
34 34
 
35 35
 As well, there's a decent set of 'tests' here, which I like to run Oragono through now and then:
36 36
 https://github.com/DanielOaks/irctest
37
+
38
+
39
+## Debugging Hangs
40
+
41
+To debug a hang, the best thing to do is to get a stack trace. Go's nice, and you can do so by running this:
42
+
43
+    $ kill -ABRT <procid>
44
+
45
+This will kill Oragono and print out a stack trace for you to take a look at.

Loading…
Cancel
Save