func init // adds using namespace sys.add_use('System.Diagnostics') // makes implementation methods for properties sys._prop_init('IsAttached', 1, 0, 104, 'Debugger') end func DefaultCategory return('Debugger.DefaultCategory') end func doBreak() blk.println('Debugger.Break();') end func doLaunch() blk.println('Debugger.Launch();') end func IsLogging return('Debugger.IsLogging()') end func Launch return('Debugger.Launch()') end func doLog(data) blk.println('Debugger.Log(', d("Level"), ', ', d("Category"), ', ', d("Message"), ');') end func doNotifyOfCrossThreadDependency() blk.println('Debugger.NotifyOfCrossThreadDependency();') end