home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / gdb.ini < prev    next >
Encoding:
Text File  |  1996-09-11  |  1.0 KB  |  62 lines

  1. #
  2. # print object (po) definitions
  3. #
  4.  
  5. define printobject
  6.   printf "%s\n", _NSPrintForDebugger($arg0)
  7.   end
  8.  
  9. define po
  10.   printf "%s\n", _NSPrintForDebugger($arg0)
  11.   end
  12.  
  13. document printobject
  14.   Ask an Objective-C object to print itself.
  15.   end
  16.  
  17. document po
  18.   Ask an Objective-C object to print itself.
  19.   end
  20.  
  21. #
  22. # turns on an ascii tracing of PostScript output in gdb
  23. #
  24. define showps
  25.  print [[NSDPSContext currentContext] setOutputTraced:1]
  26. end
  27.  
  28. #
  29. # turns off an ascii tracing of PostScript output 
  30. #
  31. define shownops
  32.  print [[NSDPSContext currentContext] setOutputTraced:0]
  33. end
  34.  
  35. #
  36. # flushes all PostScript generated by application to the PostScript server
  37. #
  38. define flushps
  39.  print [[NSDPSContext currentContext] flush]
  40. end
  41.  
  42. #
  43. # flushes and waits for all PostScript to be executed by the PostScript server
  44. #
  45. define waitps
  46.  print [[NSDPSContext currentContext] wait]
  47. end
  48.  
  49. #
  50. # turns on event tracing
  51. #
  52. define traceevents
  53.  print [NSDPSServerContext setEventsTraced:1]
  54. end
  55.  
  56. #
  57. # turns off event tracing
  58. #
  59. define tracenoevents
  60.  print [NSDPSServerContext setEventsTraced:0]
  61. end
  62.