rbx-trepanning 0.1.0-universal-rubinius-1.2 → 0.2.1-universal-rubinius-1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +3 -0
- data/.travis.yml +4 -0
- data/ChangeLog +162 -0
- data/Gemfile +16 -0
- data/NEWS +15 -8
- data/README.md +72 -0
- data/Rakefile +16 -13
- data/app/client.rb +15 -4
- data/app/cmd_parse.kpeg +38 -40
- data/app/cmd_parse.rb +25 -20
- data/app/cmd_parser.rb +1030 -1036
- data/app/complete.rb +12 -12
- data/app/default.rb +6 -5
- data/app/display.rb +2 -2
- data/app/frame.rb +17 -4
- data/app/method.rb +11 -10
- data/app/options.rb +21 -22
- data/app/util.rb +17 -10
- data/interface/user.rb +2 -2
- data/io/input.rb +13 -3
- data/lib/trepanning.rb +22 -23
- data/processor.rb +32 -32
- data/processor/command.rb +32 -13
- data/processor/command/backtrace.rb +2 -16
- data/processor/command/base/submgr.rb +22 -14
- data/processor/command/base/subsubcmd.rb +11 -13
- data/processor/command/base/subsubmgr.rb +38 -19
- data/processor/command/disassemble.rb +11 -11
- data/processor/command/help.rb +24 -24
- data/processor/command/shell.rb +17 -17
- data/processor/default.rb +5 -2
- data/processor/frame.rb +37 -0
- data/processor/help.rb +9 -11
- data/processor/load_cmds.rb +53 -40
- data/processor/location.rb +2 -2
- data/processor/mock.rb +8 -9
- data/processor/subcmd.rb +12 -12
- data/rbx-trepanning.gemspec +4 -3
- data/sample/rocky-trepanx-colors.rb +1 -1
- data/test/example/factorial.rb +10 -0
- data/test/functional/fn_helper.rb +8 -7
- data/test/functional/test-break.rb +39 -5
- data/test/functional/test-recursive-bt.rb +105 -0
- data/test/integration/helper.rb +14 -14
- data/test/integration/test-quit.rb +8 -2
- data/test/unit/cmd-helper.rb +2 -2
- data/test/unit/test-base-subcmd.rb +14 -3
- data/test/unit/test-completion.rb +7 -3
- data/test/unit/test-io-tcpserver.rb +10 -5
- data/test/unit/test-proc-validate.rb +4 -4
- metadata +208 -113
- data/README.textile +0 -34
data/README.textile
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
A debugger for Rubinius 1.2.x
|
2
|
-
|
3
|
-
bc. [sudo] gem install rbx-trepanning
|
4
|
-
|
5
|
-
should get you going.
|
6
|
-
|
7
|
-
There is a "google group mailing list":http://groups.google.com/group/ruby-debugger for Ruby debuggers.
|
8
|
-
|
9
|
-
To run initially:
|
10
|
-
|
11
|
-
bc. $ trepanx my-ruby-program.rb
|
12
|
-
|
13
|
-
Or to call from inside your code:
|
14
|
-
|
15
|
-
bc. require 'trepanning'
|
16
|
-
debugger # Don't stop here...
|
17
|
-
work # but stop here.
|
18
|
-
|
19
|
-
If you want an immediate stop:
|
20
|
-
|
21
|
-
bc. debugger(:immediate=>true)
|
22
|
-
|
23
|
-
Finally, if you put in your .trepanx
|
24
|
-
|
25
|
-
bc. Rubinius::Loader.debugger = proc {
|
26
|
-
require 'trepanning';
|
27
|
-
Trepan.start(:skip_loader => :Xdebug)
|
28
|
-
}
|
29
|
-
|
30
|
-
Then you can use the -Xdebug option the Ruby, e.g.
|
31
|
-
|
32
|
-
bc. rbx -Xdebug my-ruby-program.rb
|
33
|
-
|
34
|
-
There is extensive on-line help. Run "help" inside the debugger.
|