Comments (2)
Turns out the commands are listed by default in help
command. But I need to add docstrings so that they get parsed correctly.
from happydebugging.
It's a lot better now as of 23682b3
However I can't figure out how to adjust the Syntax:
part of the help text that appears to be autogenerated:
For example:
(lldb) help ivars
Prints out all the ivars of an object. Expects 'raw' input (see 'help
raw-input'.)
Syntax: ivars
Print out all the ivars of an object.
NOTE: The parsing of the ivar type encoding is very hacky, but it should
be sufficient for most cases. Therefore the resulting list may have
mistakes or could be missing some ivars whose type could not be
parsed.
Usage:
ivars <instance>
The part of the above snippet: Syntax: ivars
is autogenerated. And I cannot figure out how to have it list the parameter(s) taken. As a workaround, I manually append Usage: ivars <instance>
to the bottom of the help text.
It's not ideal, but sufficient for now.
from happydebugging.
Related Issues (18)
- Error when using `ivars` command. HOT 3
- Update the `result.Print()` statements to include a newline. HOT 1
- Error in `pframe` command. HOT 2
- [Request] Add comment to print UIColor as hex code + easy to read RGBA values. HOT 1
- Add support for Accessibility Debugging HOT 14
- Add tests for `screenshot` and `png` command.
- Screenshot command fails on device
- Print out values for primitives in `ivars` command. HOT 2
- Recursively print superclass ivars for `ivars` commands.
- Allow `ivars` command to take Class objects (or strings with class names?)
- Add new command to implement `setFrame:` override on a UIView at runtime. HOT 5
- Add a command to fake a low memory warning (even on device).
- Add a command to highlight a given element on screen.
- [Bug] pcolor truncates floats to ints
- Add command for UIView -isHiddenOrHasHiddenAncestor
- Update python scripts to be fully python3 compliant.
- Screenshot command fails in modern Xcode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from happydebugging.