debugger 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ ## 1.1.4
2
+ * Bump ruby_core_source dependency
3
+
1
4
  ## 1.1.3
2
5
  * Bump dependencies
3
6
 
data/README.md CHANGED
@@ -14,10 +14,13 @@ For Windows install instructions, see OLD\_README.
14
14
 
15
15
 
16
16
  ## Supported Rubies
17
- On install, debugger tries to find your ruby's headers. If it's unable to find them and your ruby is a patch release,
18
- it will use headers included with [debugger-ruby_core_source](https://github.com/cldwalker/debugger-ruby_core_source).
19
- For the list of rubies supported by debugger [see here](https://github.com/cldwalker/debugger-ruby_core_source/tree/master/lib/debugger/ruby_core_source).
20
- *If your ruby is not a patch release i.e. head, dev or an rc, you are responsible for having headers and setting them with --with-ruby-include.*
17
+ On install, debugger tries to find your ruby's headers. If it's unable to find them and your ruby is
18
+ a patch release, it will use headers included with
19
+ [debugger-ruby_core_source](https://github.com/cldwalker/debugger-ruby_core_source). For the list
20
+ of rubies supported by debugger [see
21
+ here](https://github.com/cldwalker/debugger-ruby_core_source/tree/master/lib/debugger/ruby_core_source).
22
+ *If your ruby is not an official patch release i.e. head, dev or an rc, you are responsible for
23
+ having headers and setting them with --with-ruby-include.*
21
24
 
22
25
  ## Usage
23
26
 
@@ -31,6 +34,41 @@ To use with bundler, drop in your Gemfile:
31
34
 
32
35
  gem 'debugger'
33
36
 
37
+ ### Configuration
38
+
39
+ At initialization time, debugger loads config files, executing their lines
40
+ as if they were actual commands a user has typed. config files are loaded
41
+ from two locations:
42
+
43
+ * ~/.rdebugrc (~/rdebug.ini for windows)
44
+ * $PWD/.rdebugrc ($PWD/rdebug.ini for windows)
45
+
46
+ Here's a common configuration (yeah, I should make this the default):
47
+
48
+ set autolist
49
+ set autoeval
50
+ set autoreload
51
+
52
+ To see debugger's current settings, use the `set` command.
53
+
54
+ ### Using Commands
55
+
56
+ For a list of commands:
57
+
58
+ (rdb: 1) help
59
+
60
+ Most commands are described in rdebug's man page
61
+
62
+ $ gem install gem-man
63
+ $ man rdebug
64
+
65
+ ### More documentation
66
+
67
+ Some thorough documentation of debugger is found with [this bashdb
68
+ tutorial](http://bashdb.sourceforge.net/ruby-debug.html). For emacs and debugger
69
+ usage, see [another bashdb
70
+ tutorial](http://bashdb.sourceforge.net/ruby-debug/rdebug-emacs.html)
71
+
34
72
  ## Reason for Fork
35
73
 
36
74
  * ruby-debug19 maintainer isn't maintaining:
@@ -64,17 +102,29 @@ To use with bundler, drop in your Gemfile:
64
102
  ## Issues
65
103
  Please report them [on github](http://github.com/cldwalker/debugger/issues).
66
104
 
105
+ ## Known Issues
106
+ * If you place a debugger call at the end of a block, debugging will start at the next step and
107
+ outside of your block. A simple work-around is to place a meaningless step (i.e. puts "STAY")
108
+ at the end of your block and before debugger.
109
+
67
110
  ## Contributing
68
111
  [See here](http://tagaholic.me/contributing.html) for contribution policies.
69
112
  Let's keep this working for the ruby community!
70
113
 
114
+ ## Related projects
115
+
116
+ * [debugger-pry](https://github.com/pry/debugger-pry) - using pry within debugger
117
+ * [pry-debugger](https://github.com/nixme/pry-debugger) - using debugger within pry
118
+
71
119
  ## Credits
72
120
 
73
121
  * Thanks to the original authors: Kent Sibilev and Mark Moseley
74
- * Contributors: ericpromislow, jnimety, adammck
122
+ * Contributors: ericpromislow, jnimety, adammck, hipe
75
123
  * Fork started on awesome @relevance fridays!
76
124
 
77
125
  ## TODO
78
126
 
79
127
  * Fix test/test-*.rb
128
+ * Port some of bashdb's docs
129
+ * Use ~/.debuggerrc and bin/debugger and gracefully deprecate rdebug*
80
130
  * Work with others willing to tackle jruby, rubinius or windows support
@@ -20,7 +20,7 @@ handling, bindings for stack frames among other things.
20
20
  s.extensions << "ext/ruby_debug/extconf.rb"
21
21
  s.executables = ["rdebug"]
22
22
  s.add_dependency "columnize", ">= 0.3.1"
23
- s.add_dependency "debugger-ruby_core_source", '~> 1.1.2'
23
+ s.add_dependency "debugger-ruby_core_source", '~> 1.1.3'
24
24
  s.add_dependency "debugger-linecache", '~> 1.1.1'
25
25
  s.add_development_dependency 'rake', '~> 0.9.2.2'
26
26
  s.add_development_dependency 'rake-compiler', '~> 0.8.0'
@@ -1,5 +1,5 @@
1
1
  module Debugger
2
2
  # TODO: remove version from C ext
3
3
  send :remove_const, :VERSION if const_defined? :VERSION
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.4'
5
5
  end
@@ -143,7 +143,7 @@ goes the other direction and is like the down command
143
143
  Display all or \fIcount\fR items of the program stack.
144
144
  .PP
145
145
  For full details on rdebug, see \c
146
- http://rubyforge.org/projects/ruby-debug/
146
+ https://github.com/cldwalker/debugger
147
147
  .SH OPTIONS
148
148
  .PP
149
149
  .TP 10
@@ -235,7 +235,7 @@ Show invocation help and exit.
235
235
  .PD
236
236
  .SH "SEE ALSO"
237
237
  .Sp
238
- http://rubyforge.org/projects/ruby-debug/
238
+ https://github.com/cldwalker/debugger
239
239
  .SH AUTHOR
240
240
  rdebug was written by Kent Siblev. This manual page was written by
241
241
  Rocky Bernstein <rocky@gnu.org>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-05-01 00:00:00.000000000 Z
14
+ date: 2012-06-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: columnize
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: 1.1.2
39
+ version: 1.1.3
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.2
47
+ version: 1.1.3
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: debugger-linecache
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -394,7 +394,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
394
394
  version: 1.3.6
395
395
  requirements: []
396
396
  rubyforge_project:
397
- rubygems_version: 1.8.21
397
+ rubygems_version: 1.8.24
398
398
  signing_key:
399
399
  specification_version: 3
400
400
  summary: Fast Ruby debugger - base + cli