I'm using CrossWorks for MSP430. The Reference Manual describes a debug script object:
My question is how to actually use this object. I tried the script console, but it doesn't seem to recognize the debug object.
>WScript.Echo( "echo this string please" );
echo this string please
>Debug.echo( "echo this string please" );
My ultimate goal is to write an assert or trap function that will break in the debugger. I was hoping to use the debug object in a Target - Debug Begin Script to automatically create a breakpoint within the assert/trap function.
Any suggestions on how to use the debug object or another way to programatically force a break?
Please sign in to leave a comment.