crash-watch 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -36,6 +36,19 @@ You must also have GDB installed. Mac OS X already has it by default. If you're
36
36
 
37
37
  While monitoring the process, you may interrupt `crash-watch` by pressing Ctrl-C. `crash-watch` will then detach from the process, which will then continue normally. You may re-attach `crash-watch` later.
38
38
 
39
+ Consult `crash-watch --help` for more usage options.
40
+
41
+ ## Dumping live backtrace
42
+
43
+ Instead of waiting until a process crashes, you can also dump a live backtrace of a process. `crash-watch` will immediately exit after dumping the backtrace, letting the process continue as normally.
44
+
45
+ $ crash-watch --dump <PID>
46
+ Current thread (1) backtrace:
47
+ #0 0x00007fff81fd9464 in read ()
48
+ No symbol table info available.
49
+ #1 0x0000000100060d3e in ?? ()
50
+ No symbol table info available.
51
+
39
52
  ## Goodie: GDB controller
40
53
 
41
54
  I've written a small library for controlling gdb, which `crash-watch` uses internally. With CrashWatch::GdbController you can send arbitrary commands to gdb and also get its response.
data/bin/crash-watch CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: binary
2
3
  require 'optparse'
3
4
 
4
5
  options = {}
@@ -79,4 +80,4 @@ begin
79
80
  end
80
81
  ensure
81
82
  gdb.close
82
- end
83
+ end
data/crash-watch.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = "crash-watch"
5
5
  s.version = CrashWatch::VERSION_STRING
6
6
  s.authors = ["Hongli Lai"]
7
- s.date = "2011-03-11"
7
+ s.date = "2012-02-22"
8
8
  s.description = "Monitor processes and display useful information when they crash."
9
9
  s.summary = "Monitor processes and display useful information when they crash"
10
10
  s.email = "hongli@phusion.nl"
@@ -1,3 +1,3 @@
1
1
  module CrashWatch
2
- VERSION_STRING = '1.1.1'
3
- end
2
+ VERSION_STRING = '1.1.2'
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crash-watch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 1
10
- version: 1.1.1
9
+ - 2
10
+ version: 1.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Hongli Lai
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-11 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-02-22 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: ffi
@@ -62,7 +61,6 @@ files:
62
61
  - lib/crash_watch/gdb_controller.rb
63
62
  - lib/crash_watch/version.rb
64
63
  - test/gdb_controller_spec.rb
65
- has_rdoc: true
66
64
  homepage: https://github.com/FooBarWidget/crash-watch
67
65
  licenses: []
68
66
 
@@ -92,9 +90,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
90
  requirements: []
93
91
 
94
92
  rubyforge_project:
95
- rubygems_version: 1.5.2
93
+ rubygems_version: 1.8.15
96
94
  signing_key:
97
95
  specification_version: 3
98
96
  summary: Monitor processes and display useful information when they crash
99
97
  test_files: []
100
98
 
99
+ has_rdoc: