diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-10-09 09:04:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-10-09 09:08:21 +0900 |
commit | e078352a787ce3d52b5147a5fdf69b89a9d60cff (patch) | |
tree | b24d8777b21fcd35de9b4e9963f9b0652bf23275 /include/ruby/debug.h | |
parent | 98131f148f057b1364ae080f99b1efb2dc72002a (diff) |
lldb_cruby.py: fixed inspecting string [ci skip]
Show the size of String.
To see the whole contents even after NUL char:
```
(lldb) rp str
(const char [5]) $1 = "x"
(lldb) memory read -s1 --format x --count `sizeof($1)` -- &$1 0x1010457a8: 0x78 0x00 0x61 0x61 0x61
```
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions