1 The following are examples of running rb_objnew.d. 2 3 The rb_objnew.d script reports the new Ruby objects created (by filename and 4 class) while the script is tracing. Here we see it running while 5 Code/Ruby/func_abc.rb is executed. 6 7 # rb_objnew.d 8 Tracing... Hit Ctrl-C to end. 9 ^C 10 FILE CLASS COUNT 11 . NoMemoryError 1 12 . SystemStackError 1 13 . ThreadGroup 1 14 . fatal 1 15 . Object 3 16 17 Since this is a simple example, not many objects were allocated - a few 18 for the ruby engine, and three of class Object. No file was associated 19 with these allocations, as they may have been caused by Ruby engine startup, 20 and not necessarily lines of code in the example program. 21 22