Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "command": "settings clear -all",
- "error": [],
- "output": []
- },
- {
- "command": "settings set symbols.enable-external-lookup false",
- "error": [],
- "output": []
- },
- {
- "command": "settings set target.inherit-tcc true",
- "error": [],
- "output": []
- },
- {
- "command": "settings set target.disable-aslr false",
- "error": [],
- "output": []
- },
- {
- "command": "settings set target.detach-on-error false",
- "error": [],
- "output": []
- },
- {
- "command": "settings set target.auto-apply-fixits false",
- "error": [],
- "output": []
- },
- {
- "command": "settings set plugin.process.gdb-remote.packet-timeout 60",
- "error": [],
- "output": []
- },
- {
- "command": "settings set symbols.clang-modules-cache-path \"/Users/username/llvm-sand/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"",
- "error": [],
- "output": []
- },
- {
- "command": "settings set use-color false",
- "error": [],
- "output": []
- },
- {
- "command": "version",
- "error": [],
- "output": [
- "lldb version 19.0.0git (https://github.com/username/llvm-project revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5)",
- " clang revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5",
- " llvm revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5"
- ]
- },
- {
- "command": "an-unknown-command",
- "error": [
- "error: \"an-unknown-command\" is not a valid command."
- ],
- "output": []
- },
- {
- "command": "breakpoint set -f main.c -l 5",
- "error": [],
- "output": [
- "Breakpoint 1: where = a.out`main + 40 at main.c:5:3, address = 0x0000000100003f70"
- ]
- },
- {
- "command": "r",
- "error": [],
- "output": [
- "Process 40747 launched: \"/Users/username/llvm-sand/build/lldb-test-build.noindex/python_api/interpreter/TestCommandInterpreterAPI.test_structured_transcript/a.out\" (arm64)",
- "Process 40747 stopped",
- "* thread #1, queue = \"com.apple.main-thread\", stop reason = breakpoint 1.1",
- " frame #0: 0x0000000104357f70 a.out`main(argc=1, argv=0x000000016baab638) at main.c:5:3",
- " 2 \t",
- " 3 \tint main(int argc, char const *argv[]) {",
- " 4 \t int a = 123;",
- "-> 5 \t printf(\"Hello world.\\n\");",
- " \t ^",
- " 6 \t return 0;",
- " 7 \t}"
- ]
- },
- {
- "command": "p a",
- "error": [],
- "output": [
- "(int) 123"
- ]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement