User`s guide
insert
When you use the line input a rgument to insert a breakpoint on a
specified line,
line must represent a valid line. If line does not s pe cify
a val id line,
insert returns an error and does not insert the breakpoint.
Enter
addr as a hexadecimal address, not as a ANSI C function name,
valid ANSI C expression, or a symbol name.
To learn more about the behavior of the various debugging points refer
to your CCS docum entation.
insert(cc,addr,'type',timeout)adds the optional input parameter
timeout that determines how long Embedded IDE Link CC waits for
a response to a reques t to insert a breakpoint. If the response is not
received before the timeout period expires, the insertion process fails
with a timeout error. Adding the
timeout input argum ent is valid only
when you are inserting a breakpoint. When you omit the
timeout
argument, insert uses the default value defined by cc.timeout
insert(cc,addr)
is the same as the previous syntax except the type
string defaults to ’break’ for inserting a Breakpoint.
insert(cc,filename,line,'type') letsyouspecifythelinewhereyou
are inserting the debug point.
line, in decim al notation, specifies the
line number in
filename in CCS where you are adding the debug point.
To identify the source file,
filename contains the name of the file in
CCS, entered as a string in single quotation marks. Do not in clud e
thepathtothefile.
insert ignores the fi le path information if you
add it to
filename.type accepts one of three strings—break, probe,or
profile—as defined previously.
Whenthelineorfile you specified do es no t exist, Embedded IDE Link
CC returns an error explaining that it could not insert the debug point.
insert(cc,filename,line,'type',timeout)adds the optional input
parameter
timeout that determ ines how long Embedded IDE Link CC
waits for a response to a request to insert a breakpoint. If the response
is not received before the timeout period expires, the insertion process
fails with a timeout error. Adding the
timeout input argument is valid
only w h en you a re inserting a breakpoint. When you omit the
timeout
7-63