home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / usr / lib / .gdbinit next >
Encoding:
Text File  |  1996-10-17  |  792 b   |  48 lines

  1.  
  2. #
  3. # A sample .gdbinit
  4. #
  5.  
  6. #
  7. # turns on an ascii tracing of PostScript output in gdb
  8. #
  9. define showps
  10.  print [[NSDPSContext currentContext] setOutputTraced:YES]
  11. end
  12.  
  13. #
  14. # turns off an ascii tracing of PostScript output 
  15. #
  16. define shownops
  17.  print [[NSDPSContext currentContext] setOutputTraced:NO]
  18. end
  19.  
  20. #
  21. # flushes all PostScript generated by application to the PostScript server
  22. #
  23. define flushps
  24.  print [[NSDPSContext currentContext] flush]
  25. end
  26.  
  27. #
  28. # flushes and waits for all PostScript to be executed by the PostScript server
  29. #
  30. define waitps
  31.  print [[NSDPSContext currentContext] wait]
  32. end
  33.  
  34. #
  35. # turns on event tracing
  36. #
  37. define traceevents
  38.  print [NSDPSServerContext setEventsTraced:YES]
  39. end
  40.  
  41. #
  42. # turns off event tracing
  43. #
  44. define tracenoevents
  45.  print [NSDPSServerContext setEventsTraced:NO]
  46. end
  47.  
  48.