Show
Ignore:
Timestamp:
06/21/08 10:04:10 (5 months ago)
Author:
matthiasm
Message:

kNPSGetPath would get the wrong indexed argument from the stack. The rest of the changes were done to get more detailed package dumps.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/branches/DyneTK/src/newt_core/NewtPrint.c

    r123 r126  
    715715    uint32_t    i; 
    716716 
    717     if (NewtRefIsFunction(r) && ! NEWT_DUMPBC) 
     717    if (NewtRefIsFunction(r)) 
    718718    { 
    719         NIOPrintFnFrame(f, r); 
    720         return; 
     719      if (NEWT_DUMPBC==0)  
     720      { 
     721          NIOPrintFnFrame(f, r); 
     722          return; 
     723      }  
     724      else if (NEWT_DUMPBC==2)  
     725      { 
     726          NEWT_DUMPBC = 1; 
     727          NewtFprintf(f->file, "*** byte code ***\n"); 
     728          NVMDumpFn(f->file, r); 
     729          NewtFprintf(f->file, "\n"); 
     730          NEWT_DUMPBC = 2; 
     731          return; 
     732      } // else fall through 
    721733    } 
    722734