MSP430 Debug Object, How to use?
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" );
Not supported
undefined:1
>
>
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?
Thanks
-
Ok, I did find the bit in the reference manual about software breakpoints here:
So that question is answered. But I would still like to know how to get the debug object to work. Is it supported?
Please sign in to leave a comment.
Comments
1 comment