Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ lldb tcw
- (lldb) target create "tcw"
- Current executable set to '/Users/hakonhaegland/Library/Mobile Documents/com~apple~CloudDocs/c/ncursesw/tcw' (arm64).
- (lldb) break set -n printw
- Breakpoint 1: where = libncursesw.6.dylib`printw + 20 at lib_printw.c:59:5, address = 0x000000000001699c
- (lldb) run
- Process 96949 launched: '/Users/hakonhaegland/Library/Mobile Documents/com~apple~CloudDocs/c/ncursesw/tcw' (arm64)
- Process 96949 stopped
- * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
- frame #0: 0x000000010025e99c libncursesw.6.dylib`printw(fmt="Hello, привет!") at lib_printw.c:59:5
- 56 va_end(argq);
- 57 #endif
- 58
- -> 59 va_start(argp, fmt);
- 60 code = vw_printw(stdscr, fmt, argp);
- 61 va_end(argp);
- 62
- Target 0: (tcw) stopped.
- (lldb) p fmt
- (const char *) $0 = 0x0000000100003fa1 "Hello, привет!"
- (lldb) q
- Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] Y
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement