瀏覽代碼

developing: Add advice for debugging hangs

tags/v0.7.0
Daniel Oaks 7 年之前
父節點
當前提交
479cd376d2
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      DEVELOPING.md

+ 9
- 0
DEVELOPING.md 查看文件

@@ -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…
取消
儲存