Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | cspybat breakpoints

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

cspybat breakpoints - Mirko Viviani - Aug 5 22:18:40 2008

Let suppose I have a function "foo" declaration and definition in sdutil.h
(line 100). Such function is called many times.

I use the CSpyBat.exe utility using this macro

__var break_pr_ok;

execUserSetup()
{
break_pr_ok = __setCodeBreak("{sdutil.h}.100.0", 0, "1", "TRUE",
"logpr_ok()");
}

logpr_ok() { __message "logpr reached\r\n"; }

execUserExit() {__clearBreak(break_pr_ok);}

It seems that the breakpoint is reached only one times (the logpr_ok will
print only once the message.
Using the IDE everything is working correctly.

Any idea?

--
-- Mirko Viviani --
GPG-PGP Public Key: 0xE4E8FAB1
Fingerprint: 14D3 A373 E926 7737 DF32 502B A4C4 1CE2 E4E8 FAB1
***********************************************
""Machines take me by surprise with great frequency." A. Turing
[Non-text portions of this message have been removed]
------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )