Guest User

jorendb!

a guest
May 10th, 2011
340
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (gdb) r
  2. Starting program: /Users/jason/dev/jsdbg2/js/src/d-objdir/js -d jorendb.js
  3. Reading symbols for shared libraries . done
  4. jorendb version -0.0
  5.  
  6. (jorendb)
  7. p function fac(n) { debugger; return 1; }
  8. (void 0)
  9.  
  10. (jorendb)
  11. p fac(3)
  12. 'debugger' statement hit.
  13. #0 in fac
  14.  
  15. (jorendb)
  16. bt
  17. #0 in fac
  18. #1 in eval code
  19.  
  20. (jorendb)
  21. p n
  22. $1 = 3
  23.  
  24. (jorendb)
  25. forcereturn fac(n-1) * n
  26. 'debugger' statement hit.
  27. #0 in fac
  28.  
  29. (jorendb)
  30. bt
  31. #0 in fac
  32. #1 in eval code
  33. #2 in fac
  34. #3 in eval code
  35.  
  36. (jorendb)
RAW Paste Data