I have a JavaScript file "c:\temp\x.js" that contains these lines:
// Leverage the existing services.
var debugServer = ds;
var script = env;
// Configure target for a CommAgility AMC3C87F3 with a Spectrum Digital XDS510 USB emulator.
script.traceBegin("C:\Documents and Settings\englab.PW3303\My Documents\CCSv4-js\trace.xml");
script.traceWrite("Configuring debug server for CommAgility AMC3C87F3.");
script.traceWrite("Done!");
In the Scripting Console window I do this to load the file: loadJSFile "c:\temp\x.js". The trace.xml file is not created. In fact if I put an invalid path in the traceBegin function no error occurs. It seems these trace methods have no effect. How do I use the trace methods in the Scripting Console?