13.07.2015 Views

TASKING Script Debugger User Guide

TASKING Script Debugger User Guide

TASKING Script Debugger User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Debugger</strong> <strong>Script</strong> LanguageFunction$dump_stack_trace()$thread_start(…)$mutex_create(…)$mutex_destroy(…)$mutex_lock(…)$mutex_trylock(…)$mutex_unlock(…)DescriptionReturns a string representation of the calling thread'scurrent call stack.See Section 2.19, Multithreading.2.17. Built-in ClassesThe following table lists the built-in classes.Name$addr$exception$streamDescriptionRepresents a target address. See Section 2.17.1,Class $addr.Represents an exception object. See Section 2.15,Exceptions.See Section 2.18, File I/O.2.17.1. Class $addrTarget addresses are represented as instances of class $addr. Member space is a string that, for theC166, should always equal "" and member offset is a non-negative integer indicating the absoluteaddress, in bytes.Example:$a =ref $addr("", 0x100);2.18. File I/OAll file I/O must be done via an instance of built-in class $streamThis class has the following class variables:Class variable$EOF$R_FILE$W_FILE$A_FILEDescriptionend of file markeropen mode: read fileopen mode: write to fileopen mode: append to fileThe class constructor has the following form.39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!