Advertisement
Guest User

Untitled

a guest
May 6th, 2024
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. [
  2. {
  3. "command": "settings clear -all",
  4. "error": [],
  5. "output": []
  6. },
  7. {
  8. "command": "settings set symbols.enable-external-lookup false",
  9. "error": [],
  10. "output": []
  11. },
  12. {
  13. "command": "settings set target.inherit-tcc true",
  14. "error": [],
  15. "output": []
  16. },
  17. {
  18. "command": "settings set target.disable-aslr false",
  19. "error": [],
  20. "output": []
  21. },
  22. {
  23. "command": "settings set target.detach-on-error false",
  24. "error": [],
  25. "output": []
  26. },
  27. {
  28. "command": "settings set target.auto-apply-fixits false",
  29. "error": [],
  30. "output": []
  31. },
  32. {
  33. "command": "settings set plugin.process.gdb-remote.packet-timeout 60",
  34. "error": [],
  35. "output": []
  36. },
  37. {
  38. "command": "settings set symbols.clang-modules-cache-path \"/Users/username/llvm-sand/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"",
  39. "error": [],
  40. "output": []
  41. },
  42. {
  43. "command": "settings set use-color false",
  44. "error": [],
  45. "output": []
  46. },
  47. {
  48. "command": "version",
  49. "error": [],
  50. "output": [
  51. "lldb version 19.0.0git (https://github.com/username/llvm-project revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5)",
  52. " clang revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5",
  53. " llvm revision 836a719f0f2124627ebb0ea625486bcc8cdf3cd5"
  54. ]
  55. },
  56. {
  57. "command": "an-unknown-command",
  58. "error": [
  59. "error: \"an-unknown-command\" is not a valid command."
  60. ],
  61. "output": []
  62. },
  63. {
  64. "command": "breakpoint set -f main.c -l 5",
  65. "error": [],
  66. "output": [
  67. "Breakpoint 1: where = a.out`main + 40 at main.c:5:3, address = 0x0000000100003f70"
  68. ]
  69. },
  70. {
  71. "command": "r",
  72. "error": [],
  73. "output": [
  74. "Process 40747 launched: \"/Users/username/llvm-sand/build/lldb-test-build.noindex/python_api/interpreter/TestCommandInterpreterAPI.test_structured_transcript/a.out\" (arm64)",
  75. "Process 40747 stopped",
  76. "* thread #1, queue = \"com.apple.main-thread\", stop reason = breakpoint 1.1",
  77. " frame #0: 0x0000000104357f70 a.out`main(argc=1, argv=0x000000016baab638) at main.c:5:3",
  78. " 2 \t",
  79. " 3 \tint main(int argc, char const *argv[]) {",
  80. " 4 \t int a = 123;",
  81. "-> 5 \t printf(\"Hello world.\\n\");",
  82. " \t ^",
  83. " 6 \t return 0;",
  84. " 7 \t}"
  85. ]
  86. },
  87. {
  88. "command": "p a",
  89. "error": [],
  90. "output": [
  91. "(int) 123"
  92. ]
  93. }
  94. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement