Advertisement
Guest User

Untitled

a guest
Jan 14th, 2014
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. MacBook-oops:hellod evilrat$ lldb dbgtest
  2. Current executable set to 'dbgtest' (x86_64).
  3. (lldb) breakpoint set --file=main.d --line=8
  4. Breakpoint 1: where = dbgtest`_Dmain + 16, address = 0x00000001000012e0
  5. (lldb) run
  6. Process 566 launched: '/Users/evilrat/Documents/prog/dbgtest/dbgtest/bin/Debug/dbgtest' (x86_64)
  7. Process 566 stopped
  8. * thread #1: tid = 0x25e9, 0x00000001000012e0 dbgtest`_Dmain + 16 at main.d:8, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
  9. frame #0: 0x00000001000012e0 dbgtest`_Dmain + 16 at main.d:8
  10. 5 void main(string[] args)
  11. 6 {
  12. 7 // Prints "Hello World" string in console
  13. -> 8 writeln("Hello World!");
  14. 9
  15. 10 // Lets the user press <Return> before program returns
  16. 11 stdin.readln();
  17. (lldb) next
  18. Hello World!
  19. Process 566 stopped
  20. * thread #1: tid = 0x25e9, 0x00000001000012f6 dbgtest`_Dmain + 38 at main.d:11, queue = 'com.apple.main-thread, stop reason = step over
  21. frame #0: 0x00000001000012f6 dbgtest`_Dmain + 38 at main.d:11
  22. 8 writeln("Hello World!");
  23. 9
  24. 10 // Lets the user press <Return> before program returns
  25. -> 11 stdin.readln();
  26. 12 }
  27. 13
  28. (lldb) continue
  29. Process 566 resuming
  30.  
  31. Process 566 exited with status = 0 (0x00000000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement