toolbox 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/bake/ruby/gdb.rb +135 -0
  4. data/bake/toolbox/gdb.rb +137 -0
  5. data/bake/toolbox/lldb.rb +137 -0
  6. data/context/fiber-debugging.md +171 -0
  7. data/context/getting-started.md +178 -0
  8. data/context/heap-debugging.md +351 -0
  9. data/context/index.yaml +28 -0
  10. data/context/object-inspection.md +208 -0
  11. data/context/stack-inspection.md +188 -0
  12. data/data/toolbox/command.py +254 -0
  13. data/data/toolbox/constants.py +200 -0
  14. data/data/toolbox/context.py +295 -0
  15. data/data/toolbox/debugger/__init__.py +99 -0
  16. data/data/toolbox/debugger/gdb_backend.py +595 -0
  17. data/data/toolbox/debugger/lldb_backend.py +885 -0
  18. data/data/toolbox/fiber.py +885 -0
  19. data/data/toolbox/format.py +200 -0
  20. data/data/toolbox/heap.py +669 -0
  21. data/data/toolbox/init.py +85 -0
  22. data/data/toolbox/object.py +84 -0
  23. data/data/toolbox/rarray.py +124 -0
  24. data/data/toolbox/rbasic.py +103 -0
  25. data/data/toolbox/rbignum.py +52 -0
  26. data/data/toolbox/rclass.py +136 -0
  27. data/data/toolbox/readme.md +214 -0
  28. data/data/toolbox/rexception.py +150 -0
  29. data/data/toolbox/rfloat.py +98 -0
  30. data/data/toolbox/rhash.py +159 -0
  31. data/data/toolbox/rstring.py +234 -0
  32. data/data/toolbox/rstruct.py +157 -0
  33. data/data/toolbox/rsymbol.py +302 -0
  34. data/data/toolbox/stack.py +630 -0
  35. data/data/toolbox/value.py +183 -0
  36. data/lib/toolbox/gdb.rb +21 -0
  37. data/lib/toolbox/lldb.rb +21 -0
  38. data/lib/toolbox/version.rb +7 -1
  39. data/lib/toolbox.rb +9 -24
  40. data/license.md +21 -0
  41. data/readme.md +64 -0
  42. data/releases.md +9 -0
  43. data.tar.gz.sig +2 -0
  44. metadata +95 -165
  45. metadata.gz.sig +0 -0
  46. data/Rakefile +0 -61
  47. data/lib/dirs.rb +0 -9
  48. data/lib/toolbox/config.rb +0 -211
  49. data/lib/toolbox/default_controller.rb +0 -393
  50. data/lib/toolbox/helpers.rb +0 -11
  51. data/lib/toolbox/rendering.rb +0 -413
  52. data/lib/toolbox/searching.rb +0 -85
  53. data/lib/toolbox/session_params.rb +0 -63
  54. data/lib/toolbox/sorting.rb +0 -74
  55. data/locale/de/LC_MESSAGES/toolbox.mo +0 -0
  56. data/public/images/add.png +0 -0
  57. data/public/images/arrow_down.gif +0 -0
  58. data/public/images/arrow_up.gif +0 -0
  59. data/public/images/close.png +0 -0
  60. data/public/images/edit.gif +0 -0
  61. data/public/images/email.png +0 -0
  62. data/public/images/page.png +0 -0
  63. data/public/images/page_acrobat.png +0 -0
  64. data/public/images/page_add.png +0 -0
  65. data/public/images/page_copy.png +0 -0
  66. data/public/images/page_delete.png +0 -0
  67. data/public/images/page_edit.png +0 -0
  68. data/public/images/page_excel.png +0 -0
  69. data/public/images/page_list.png +0 -0
  70. data/public/images/page_save.png +0 -0
  71. data/public/images/page_word.png +0 -0
  72. data/public/images/remove.png +0 -0
  73. data/public/images/show.gif +0 -0
  74. data/public/images/spinner.gif +0 -0
  75. data/public/javascripts/popup.js +0 -498
  76. data/public/javascripts/toolbox.js +0 -18
  77. data/public/stylesheets/context_menu.css +0 -168
  78. data/public/stylesheets/popup.css +0 -30
  79. data/public/stylesheets/toolbox.css +0 -107
  80. data/view/toolbox/_collection.html.erb +0 -24
  81. data/view/toolbox/_collection_header.html.erb +0 -7
  82. data/view/toolbox/_context_menu.html.erb +0 -17
  83. data/view/toolbox/_dialogs.html.erb +0 -6
  84. data/view/toolbox/_form.html.erb +0 -30
  85. data/view/toolbox/_form_collection_row.html.erb +0 -18
  86. data/view/toolbox/_form_fieldset.html.erb +0 -30
  87. data/view/toolbox/_form_fieldset_row.html.erb +0 -19
  88. data/view/toolbox/_list.html.erb +0 -25
  89. data/view/toolbox/_list_row.html.erb +0 -10
  90. data/view/toolbox/_menu.html.erb +0 -7
  91. data/view/toolbox/_search_field.html.erb +0 -8
  92. data/view/toolbox/_show.html.erb +0 -12
  93. data/view/toolbox/_show_collection_row.html.erb +0 -6
  94. data/view/toolbox/_show_fieldset.html.erb +0 -21
  95. data/view/toolbox/edit.html.erb +0 -5
  96. data/view/toolbox/index.html.erb +0 -3
  97. data/view/toolbox/new.html.erb +0 -9
  98. data/view/toolbox/show.html.erb +0 -39
@@ -0,0 +1,183 @@
1
+ import debugger
2
+ import constants
3
+ import format
4
+
5
+ import rbasic
6
+ import rfloat
7
+ import rsymbol
8
+ import rstring
9
+ import rarray
10
+ import rhash
11
+ import rstruct
12
+ import rbignum
13
+
14
+ class RImmediate:
15
+ """Wrapper for Ruby immediate values (fixnum, nil, true, false)."""
16
+
17
+ def __init__(self, value):
18
+ self.value = value
19
+ self.val_int = int(value)
20
+
21
+ def __str__(self):
22
+ if self.val_int == 0:
23
+ return "<T_FALSE>"
24
+ elif self.val_int == 0x04 or self.val_int == 0x08:
25
+ return "<T_NIL>"
26
+ elif self.val_int == 0x14:
27
+ return "<T_TRUE>"
28
+ elif (self.val_int & 0x01) != 0:
29
+ # Fixnum - shift right to get actual value
30
+ return str(self.val_int >> 1)
31
+ else:
32
+ # Unknown immediate
33
+ return f"<Immediate:0x{self.val_int:x}>"
34
+
35
+ def print_to(self, terminal):
36
+ """Print this value with formatting to the given terminal."""
37
+ if self.val_int == 0:
38
+ return terminal.print(format.metadata, '<', format.type, 'T_FALSE', format.metadata, '>', format.reset)
39
+ elif self.val_int == 0x04 or self.val_int == 0x08:
40
+ return terminal.print(format.metadata, '<', format.type, 'T_NIL', format.metadata, '>', format.reset)
41
+ elif self.val_int == 0x14:
42
+ return terminal.print(format.metadata, '<', format.type, 'T_TRUE', format.metadata, '>', format.reset)
43
+ elif (self.val_int & 0x01) != 0:
44
+ # Fixnum - shift right to get actual value
45
+ tag = terminal.print(format.metadata, '<', format.type, 'T_FIXNUM', format.metadata, '>', format.reset)
46
+ num = terminal.print(format.number, str(self.val_int >> 1), format.reset)
47
+ return f"{tag} {num}"
48
+ else:
49
+ # Unknown immediate
50
+ return f"<Immediate:0x{self.val_int:x}>"
51
+
52
+ def print_recursive(self, printer, depth):
53
+ """Print this immediate value (no recursion needed)."""
54
+ printer.print(self)
55
+
56
+ def is_nil(value):
57
+ """Check if a Ruby VALUE is nil.
58
+
59
+ Arguments:
60
+ value: A GDB value representing a Ruby VALUE
61
+
62
+ Returns:
63
+ True if the value is nil (Qnil), False otherwise
64
+ """
65
+ val_int = int(value)
66
+ # Qnil can be 0x04 or 0x08 depending on Ruby version
67
+ return val_int == 0x04 or val_int == 0x08
68
+
69
+ def is_immediate(value):
70
+ """Check if a Ruby VALUE is an immediate value.
71
+
72
+ Immediate values include fixnum, symbols, nil, true, false.
73
+ They are encoded directly in the VALUE, not as heap objects.
74
+
75
+ Arguments:
76
+ value: A GDB value representing a Ruby VALUE
77
+
78
+ Returns:
79
+ True if the value is immediate, False if it's a heap object
80
+ """
81
+ val_int = int(value)
82
+ # Check for special constants (Qfalse=0, Qnil=0x04/0x08, Qtrue=0x14)
83
+ # or immediate values (fixnum, symbol, flonum) which have low bits set
84
+ return val_int == 0 or (val_int & 0x03) != 0
85
+
86
+ def is_object(value):
87
+ """Check if a Ruby VALUE is a heap object (not immediate).
88
+
89
+ Arguments:
90
+ value: A GDB value representing a Ruby VALUE
91
+
92
+ Returns:
93
+ True if the value is a heap object, False if it's immediate
94
+ """
95
+ return not is_immediate(value)
96
+
97
+ def is_exception(value):
98
+ """Check if a Ruby VALUE is an exception object.
99
+
100
+ Arguments:
101
+ value: A GDB value representing a Ruby VALUE
102
+
103
+ Returns:
104
+ True if the value appears to be an exception object, False otherwise
105
+ """
106
+ if not is_object(value):
107
+ return False
108
+
109
+ try:
110
+ # Check if it's a T_OBJECT or T_DATA (exceptions can be either)
111
+ basic = value.cast(constants.type_struct("struct RBasic").pointer())
112
+ flags = int(basic.dereference()['flags'])
113
+ type_flag = flags & constants.type("RUBY_T_MASK")
114
+
115
+ # Exceptions are typically T_OBJECT, but could also be T_DATA
116
+ # We can't reliably determine if it's an exception without checking the class hierarchy
117
+ # So we just check if it's an object type that could be an exception
118
+ t_object = constants.type("RUBY_T_OBJECT")
119
+ t_data = constants.type("RUBY_T_DATA")
120
+
121
+ return type_flag == t_object or type_flag == t_data
122
+ except Exception:
123
+ return False
124
+
125
+ def interpret(value):
126
+ """Interpret a Ruby VALUE and return the appropriate typed object.
127
+
128
+ This is a factory function that examines the value and returns the
129
+ most specific type wrapper available (RString, RArray, RHash, etc.),
130
+ or RBasic as a fallback for unhandled types.
131
+
132
+ For immediate values (fixnum, flonum, symbol, nil, true, false), it returns
133
+ the appropriate wrapper (RImmediate, RFloat, RSymbol).
134
+
135
+ Arguments:
136
+ value: A GDB value representing a Ruby VALUE
137
+
138
+ Returns:
139
+ An instance of the appropriate type class (never None)
140
+ """
141
+ import sys
142
+ val_int = int(value)
143
+
144
+ # Check for immediate flonum (must be before fixnum check)
145
+ if rfloat.is_flonum(value):
146
+ return rfloat.RFloat(value)
147
+
148
+ # Check if it's a symbol (immediate or heap)
149
+ if rsymbol.is_symbol(value):
150
+ return rsymbol.RSymbol(value)
151
+
152
+ # Handle special constants and fixnum (anything with low bits set)
153
+ if val_int == 0 or val_int == 0x04 or val_int == 0x08 or val_int == 0x14 or (val_int & 0x01) != 0:
154
+ return RImmediate(value)
155
+
156
+ # It's a heap object, examine its type
157
+ try:
158
+ basic = value.cast(constants.type_struct("struct RBasic").pointer())
159
+ flags = int(basic.dereference()['flags'])
160
+ type_flag = flags & constants.type("RUBY_T_MASK")
161
+
162
+ # Map type flags to their corresponding factory functions
163
+ if type_flag == constants.type("RUBY_T_STRING"):
164
+ return rstring.RString(value)
165
+ elif type_flag == constants.type("RUBY_T_ARRAY"):
166
+ return rarray.RArray(value)
167
+ elif type_flag == constants.type("RUBY_T_HASH"):
168
+ return rhash.RHash(value)
169
+ elif type_flag == constants.type("RUBY_T_STRUCT"):
170
+ return rstruct.RStruct(value)
171
+ elif type_flag == constants.type("RUBY_T_SYMBOL"):
172
+ return rsymbol.RSymbol(value)
173
+ elif type_flag == constants.type("RUBY_T_FLOAT"):
174
+ return rfloat.RFloat(value)
175
+ elif type_flag == constants.type("RUBY_T_BIGNUM"):
176
+ return rbignum.RBignum(value)
177
+ else:
178
+ # Unknown type - return generic RBasic
179
+ return rbasic.RBasic(value)
180
+ except Exception as e:
181
+ # If we can't examine it, return a generic wrapper
182
+ print(f"DEBUG interpret: exception {e}, returning RBasic", file=sys.stderr)
183
+ return rbasic.RBasic(value)
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2025, by Samuel Williams.
5
+
6
+ require_relative "../toolbox"
7
+
8
+ module Toolbox
9
+ # @namespace
10
+ module GDB
11
+ # Path to the toolbox data directory.
12
+ def self.data_path
13
+ Toolbox.data_path
14
+ end
15
+
16
+ # Path to the init script for GDB.
17
+ def self.init_script_path
18
+ File.join(data_path, "toolbox", "init.py")
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2025, by Samuel Williams.
5
+
6
+ require_relative "../toolbox"
7
+
8
+ module Toolbox
9
+ # @namespace
10
+ module LLDB
11
+ # Path to the toolbox data directory.
12
+ def self.data_path
13
+ Toolbox.data_path
14
+ end
15
+
16
+ # Path to the init script for LLDB.
17
+ def self.init_script_path
18
+ File.join(data_path, "toolbox", "init.py")
19
+ end
20
+ end
21
+ end
@@ -1,4 +1,10 @@
1
+ # frozen_string_literal: true
1
2
 
3
+ # Released under the MIT License.
4
+ # Copyright, 2025, by Samuel Williams.
5
+
6
+ # @namespace
2
7
  module Toolbox
3
- VERSION = '0.1.4'
8
+ VERSION = "0.2.0"
4
9
  end
10
+
data/lib/toolbox.rb CHANGED
@@ -1,29 +1,14 @@
1
- require 'gettext'
2
- require File.dirname(__FILE__) << '/toolbox/searching'
3
- require File.dirname(__FILE__) << '/toolbox/sorting'
4
- require File.dirname(__FILE__) << '/toolbox/session_params'
5
- require File.dirname(__FILE__) << '/toolbox/helpers'
6
- require File.dirname(__FILE__) << '/toolbox/default_controller'
7
- require File.dirname(__FILE__) << '/toolbox/config'
8
- require File.dirname(__FILE__) << '/toolbox/version'
9
- require File.dirname(__FILE__) << '/dirs'
1
+ # frozen_string_literal: true
10
2
 
11
- if Object.const_defined?(:Rails) && File.directory?(Rails.root.to_s + "/public")
3
+ # Released under the MIT License.
4
+ # Copyright, 2025, by Samuel Williams.
12
5
 
13
- Toolbox::Searching.setup
14
- Toolbox::SessionParams.setup
15
- Toolbox::DefaultController.setup
16
- ActionController::Base.send(:append_view_path, Toolbox::Dirs::VIEW)
6
+ require_relative "toolbox/version"
17
7
 
18
- # install files
19
- unless File.exists?(RAILS_ROOT + "/public/javascripts/toolbox-#{Toolbox::VERSION}/toolbox.js")
20
- ['/public/javascripts', '/public/stylesheets', '/public/images'].each do |dir|
21
- source = File.join(Toolbox::Dirs::GEM_ROOT, dir)
22
- appendix = dir.ends_with?('javascripts') ? "toolbox-#{Toolbox::VERSION}" : 'toolbox'
23
- dest = File.join(RAILS_ROOT, dir, appendix)
24
- FileUtils.mkdir_p(dest)
25
- FileUtils.cp(Dir.glob(source + '/*.*'), dest)
26
- end
27
- end
8
+ module Toolbox
9
+ # Path to the toolbox data directory.
10
+ def self.data_path
11
+ File.expand_path("../data", __dir__)
12
+ end
28
13
  end
29
14
 
data/license.md ADDED
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright, 2025, by Samuel Williams.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/readme.md ADDED
@@ -0,0 +1,64 @@
1
+ # Toolbox
2
+
3
+ Ruby debugging toolbox for GDB and LLDB, providing commands for inspecting Ruby objects, fibers, and VM internals across multiple debuggers.
4
+
5
+ [![Development Status](https://github.com/socketry/toolbox/workflows/Test/badge.svg)](https://github.com/socketry/toolbox/actions?workflow=Test)
6
+
7
+ ## Features
8
+
9
+ - **Multi-debugger support**: Works with both GDB and LLDB through a unified abstraction layer.
10
+ - **Object inspection**: Pretty-print Ruby objects, hashes, arrays, and complex structures.
11
+ - **Fiber debugging**: Navigate and inspect Ruby fibers with full backtraces.
12
+ - **Heap scanning**: Search the Ruby heap for objects and diagnose memory issues.
13
+ - **Stack inspection**: Examine both Ruby VM stacks and native C stacks.
14
+ - **Easy installation**: Simple bake tasks for both GDB and LLDB.
15
+
16
+ ## Usage
17
+
18
+ Please see the [project documentation](https://socketry.github.io/toolbox/) for more details.
19
+
20
+ - [Getting Started](https://socketry.github.io/toolbox/guides/getting-started/index) - This guide explains how to install and use Toolbox for debugging Ruby programs and core dumps with GDB or LLDB.
21
+
22
+ - [Object Inspection](https://socketry.github.io/toolbox/guides/object-inspection/index) - This guide explains how to use `rb-object-print` to inspect Ruby objects, hashes, arrays, and structs in GDB.
23
+
24
+ - [Stack Inspection](https://socketry.github.io/toolbox/guides/stack-inspection/index) - This guide explains how to inspect both Ruby VM stacks and native C stacks when debugging Ruby programs.
25
+
26
+ - [Fiber Debugging](https://socketry.github.io/toolbox/guides/fiber-debugging/index) - This guide explains how to debug Ruby fibers using GDB, including inspecting fiber state, backtraces, and switching between fiber contexts.
27
+
28
+ - [Heap Debugging](https://socketry.github.io/toolbox/guides/heap-debugging/index) - This guide explains how to navigate Ruby's heap to find objects, diagnose memory issues, and understand object relationships.
29
+
30
+ ## Releases
31
+
32
+ Please see the [project releases](https://socketry.github.io/toolbox/releases/index) for all releases.
33
+
34
+ ### v0.2.0
35
+
36
+ - Introduce support for `lldb` using debugger shims.
37
+
38
+ ### v0.1.0
39
+
40
+ - Initial release.
41
+
42
+ ## See Also
43
+
44
+ - [GDB Python API Documentation](https://sourceware.org/gdb/current/onlinedocs/gdb.html/Python-API.html)
45
+ - [LLDB Python API Documentation](https://lldb.llvm.org/use/python-reference.html)
46
+ - [Ruby VM Internals](https://docs.ruby-lang.org/en/master/extension_rdoc.html)
47
+
48
+ ## Contributing
49
+
50
+ We welcome contributions to this project.
51
+
52
+ 1. Fork it.
53
+ 2. Create your feature branch (`git checkout -b my-new-feature`).
54
+ 3. Commit your changes (`git commit -am 'Add some feature'`).
55
+ 4. Push to the branch (`git push origin my-new-feature`).
56
+ 5. Create new Pull Request.
57
+
58
+ ### Developer Certificate of Origin
59
+
60
+ In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
61
+
62
+ ### Community Guidelines
63
+
64
+ This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
data/releases.md ADDED
@@ -0,0 +1,9 @@
1
+ # Releases
2
+
3
+ ## v0.2.0
4
+
5
+ - Introduce support for `lldb` using debugger shims.
6
+
7
+ ## v0.1.0
8
+
9
+ - Initial release.
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ a}���vmٲ\���Қ�m>�Z�\>~��Yr�h�ŀPp�Ǘ~-�1� -����j*9��.f�[��Y�����5-M�8�ĥ����;��>��[��ڑ�B1g��N2�q��r#��']�9CHK� �n`��x���$#�f0�/���5�����N8[���|��]�37�>"
2
+ ���"�M��6!/�d/��Oi^����޻�7����D�F{�u�,�L�E$�w���R����zh�d9� �J��_)���Ψ�;��<��)��7Y�"�o�+�\HT��pV�����v��Jk�W�����7".��m��4[��)��'�K˖�d����?w��c��6f�&��]^y�⬭K�|�)=�|-�s�3��rZ,��~{��x)�y
metadata CHANGED
@@ -1,178 +1,108 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: toolbox
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
5
  platform: ruby
6
- authors:
7
- - David Nyffenegger
8
- autorequire:
6
+ authors:
7
+ - Samuel Williams
9
8
  bindir: bin
10
- cert_chain: []
11
-
12
- date: 2009-01-29 00:00:00 +01:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: activesupport
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.1.1
24
- version:
25
- - !ruby/object:Gem::Dependency
26
- name: actionpack
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 2.1.1
34
- version:
35
- - !ruby/object:Gem::Dependency
36
- name: actionpack
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 2.1.1
44
- version:
45
- - !ruby/object:Gem::Dependency
46
- name: gettext
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 2.1.0
54
- version:
55
- - !ruby/object:Gem::Dependency
56
- name: mislav-will_paginate
57
- type: :runtime
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 2.3.3
64
- version:
65
- - !ruby/object:Gem::Dependency
66
- name: calendar_date_select
67
- type: :runtime
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: 1.15.0
74
- version:
75
- - !ruby/object:Gem::Dependency
76
- name: fastercsv
77
- type: :runtime
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: 1.4.0
84
- version:
85
- description: This toolbox goes in the direction of the django admin interface.
86
- email: vidl@sunrise.ch
9
+ cert_chain:
10
+ - |
11
+ -----BEGIN CERTIFICATE-----
12
+ MIIE2DCCA0CgAwIBAgIBATANBgkqhkiG9w0BAQsFADBhMRgwFgYDVQQDDA9zYW11
13
+ ZWwud2lsbGlhbXMxHTAbBgoJkiaJk/IsZAEZFg1vcmlvbnRyYW5zZmVyMRIwEAYK
14
+ CZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJuejAeFw0yMjA4MDYwNDUz
15
+ MjRaFw0zMjA4MDMwNDUzMjRaMGExGDAWBgNVBAMMD3NhbXVlbC53aWxsaWFtczEd
16
+ MBsGCgmSJomT8ixkARkWDW9yaW9udHJhbnNmZXIxEjAQBgoJkiaJk/IsZAEZFgJj
17
+ bzESMBAGCgmSJomT8ixkARkWAm56MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIB
18
+ igKCAYEAomvSopQXQ24+9DBB6I6jxRI2auu3VVb4nOjmmHq7XWM4u3HL+pni63X2
19
+ 9qZdoq9xt7H+RPbwL28LDpDNflYQXoOhoVhQ37Pjn9YDjl8/4/9xa9+NUpl9XDIW
20
+ sGkaOY0eqsQm1pEWkHJr3zn/fxoKPZPfaJOglovdxf7dgsHz67Xgd/ka+Wo1YqoE
21
+ e5AUKRwUuvaUaumAKgPH+4E4oiLXI4T1Ff5Q7xxv6yXvHuYtlMHhYfgNn8iiW8WN
22
+ XibYXPNP7NtieSQqwR/xM6IRSoyXKuS+ZNGDPUUGk8RoiV/xvVN4LrVm9upSc0ss
23
+ RZ6qwOQmXCo/lLcDUxJAgG95cPw//sI00tZan75VgsGzSWAOdjQpFM0l4dxvKwHn
24
+ tUeT3ZsAgt0JnGqNm2Bkz81kG4A2hSyFZTFA8vZGhp+hz+8Q573tAR89y9YJBdYM
25
+ zp0FM4zwMNEUwgfRzv1tEVVUEXmoFCyhzonUUw4nE4CFu/sE3ffhjKcXcY//qiSW
26
+ xm4erY3XAgMBAAGjgZowgZcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
27
+ BBYEFO9t7XWuFf2SKLmuijgqR4sGDlRsMC4GA1UdEQQnMCWBI3NhbXVlbC53aWxs
28
+ aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MC4GA1UdEgQnMCWBI3NhbXVlbC53aWxs
29
+ aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MA0GCSqGSIb3DQEBCwUAA4IBgQB5sxkE
30
+ cBsSYwK6fYpM+hA5B5yZY2+L0Z+27jF1pWGgbhPH8/FjjBLVn+VFok3CDpRqwXCl
31
+ xCO40JEkKdznNy2avOMra6PFiQyOE74kCtv7P+Fdc+FhgqI5lMon6tt9rNeXmnW/
32
+ c1NaMRdxy999hmRGzUSFjozcCwxpy/LwabxtdXwXgSay4mQ32EDjqR1TixS1+smp
33
+ 8C/NCWgpIfzpHGJsjvmH2wAfKtTTqB9CVKLCWEnCHyCaRVuKkrKjqhYCdmMBqCws
34
+ JkxfQWC+jBVeG9ZtPhQgZpfhvh+6hMhraUYRQ6XGyvBqEUe+yo6DKIT3MtGE2+CP
35
+ eX9i9ZWBydWb8/rvmwmX2kkcBbX0hZS1rcR593hGc61JR6lvkGYQ2MYskBveyaxt
36
+ Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
37
+ voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
38
+ -----END CERTIFICATE-----
39
+ date: 1980-01-02 00:00:00.000000000 Z
40
+ dependencies: []
87
41
  executables: []
88
-
89
42
  extensions: []
90
-
91
43
  extra_rdoc_files: []
92
-
93
- files:
94
- - Rakefile
95
- - lib/dirs.rb
96
- - lib/toolbox/config.rb
97
- - lib/toolbox/default_controller.rb
98
- - lib/toolbox/helpers.rb
99
- - lib/toolbox/rendering.rb
100
- - lib/toolbox/searching.rb
101
- - lib/toolbox/session_params.rb
102
- - lib/toolbox/sorting.rb
103
- - lib/toolbox/version.rb
44
+ files:
45
+ - bake/ruby/gdb.rb
46
+ - bake/toolbox/gdb.rb
47
+ - bake/toolbox/lldb.rb
48
+ - context/fiber-debugging.md
49
+ - context/getting-started.md
50
+ - context/heap-debugging.md
51
+ - context/index.yaml
52
+ - context/object-inspection.md
53
+ - context/stack-inspection.md
54
+ - data/toolbox/command.py
55
+ - data/toolbox/constants.py
56
+ - data/toolbox/context.py
57
+ - data/toolbox/debugger/__init__.py
58
+ - data/toolbox/debugger/gdb_backend.py
59
+ - data/toolbox/debugger/lldb_backend.py
60
+ - data/toolbox/fiber.py
61
+ - data/toolbox/format.py
62
+ - data/toolbox/heap.py
63
+ - data/toolbox/init.py
64
+ - data/toolbox/object.py
65
+ - data/toolbox/rarray.py
66
+ - data/toolbox/rbasic.py
67
+ - data/toolbox/rbignum.py
68
+ - data/toolbox/rclass.py
69
+ - data/toolbox/readme.md
70
+ - data/toolbox/rexception.py
71
+ - data/toolbox/rfloat.py
72
+ - data/toolbox/rhash.py
73
+ - data/toolbox/rstring.py
74
+ - data/toolbox/rstruct.py
75
+ - data/toolbox/rsymbol.py
76
+ - data/toolbox/stack.py
77
+ - data/toolbox/value.py
104
78
  - lib/toolbox.rb
105
- - locale/de/LC_MESSAGES/toolbox.mo
106
- - view/toolbox/_collection.html.erb
107
- - view/toolbox/_collection_header.html.erb
108
- - view/toolbox/_context_menu.html.erb
109
- - view/toolbox/_dialogs.html.erb
110
- - view/toolbox/_form.html.erb
111
- - view/toolbox/_form_collection_row.html.erb
112
- - view/toolbox/_form_fieldset.html.erb
113
- - view/toolbox/_form_fieldset_row.html.erb
114
- - view/toolbox/_list.html.erb
115
- - view/toolbox/_list_row.html.erb
116
- - view/toolbox/_menu.html.erb
117
- - view/toolbox/_search_field.html.erb
118
- - view/toolbox/_show.html.erb
119
- - view/toolbox/_show_collection_row.html.erb
120
- - view/toolbox/_show_fieldset.html.erb
121
- - view/toolbox/edit.html.erb
122
- - view/toolbox/index.html.erb
123
- - view/toolbox/new.html.erb
124
- - view/toolbox/show.html.erb
125
- - public/images/add.png
126
- - public/images/arrow_down.gif
127
- - public/images/arrow_up.gif
128
- - public/images/close.png
129
- - public/images/edit.gif
130
- - public/images/email.png
131
- - public/images/page.png
132
- - public/images/page_acrobat.png
133
- - public/images/page_add.png
134
- - public/images/page_copy.png
135
- - public/images/page_delete.png
136
- - public/images/page_edit.png
137
- - public/images/page_excel.png
138
- - public/images/page_list.png
139
- - public/images/page_save.png
140
- - public/images/page_word.png
141
- - public/images/remove.png
142
- - public/images/show.gif
143
- - public/images/spinner.gif
144
- - public/javascripts/popup.js
145
- - public/javascripts/toolbox.js
146
- - public/stylesheets/context_menu.css
147
- - public/stylesheets/popup.css
148
- - public/stylesheets/toolbox.css
149
- has_rdoc: true
150
- homepage: http://github.com/vidl/toolbox
151
- licenses: []
152
-
153
- post_install_message:
79
+ - lib/toolbox/gdb.rb
80
+ - lib/toolbox/lldb.rb
81
+ - lib/toolbox/version.rb
82
+ - license.md
83
+ - readme.md
84
+ - releases.md
85
+ homepage: https://github.com/socketry/toolbox
86
+ licenses:
87
+ - MIT
88
+ metadata:
89
+ documentation_uri: https://socketry.github.io/toolbox/
90
+ source_code_uri: https://github.com/socketry/toolbox
154
91
  rdoc_options: []
155
-
156
- require_paths:
92
+ require_paths:
157
93
  - lib
158
- required_ruby_version: !ruby/object:Gem::Requirement
159
- requirements:
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
160
96
  - - ">="
161
- - !ruby/object:Gem::Version
162
- version: "0"
163
- version:
164
- required_rubygems_version: !ruby/object:Gem::Requirement
165
- requirements:
97
+ - !ruby/object:Gem::Version
98
+ version: '3.2'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
166
101
  - - ">="
167
- - !ruby/object:Gem::Version
168
- version: "0"
169
- version:
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
170
104
  requirements: []
171
-
172
- rubyforge_project: toolbox
173
- rubygems_version: 1.3.5
174
- signing_key:
175
- specification_version: 3
176
- summary: Davids toolbox to speedup development with rails (mainly view).
105
+ rubygems_version: 3.6.9
106
+ specification_version: 4
107
+ summary: Ruby debugging toolbox for GDB and LLDB
177
108
  test_files: []
178
-
metadata.gz.sig ADDED
Binary file