This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

write to a result file, from js command prompt

hi,

I am new to javascripting and ccs.

I have taken the example file (Breakpoints.js) provided by TI . I am giving it as input from my scripting console. Say, for example, my js has a statement similar to one below:

         nPC = debugSession.expression.evaluate("PC")

Now my quesiton is, how to write the value of "nPC" into a ".res" ( or any .txt file - basically some result file) file. Also guide me on how to create the .res file, using js.

 

Thanks for your reply in advance,

Regards

Sudheer.