delete - Remove debug points in addresses or source files in CCS

Syntax

delete(cc,addr,'type')
delete(cc,addr,'type',timeout)
delete(cc,addr)
delete(cc,filename,line,'type')
delete(cc,filename,line,'type',timeout)
delete(cc,filename,line)
delete(cc,'all')
delete(cc,'all','break',timeout)

Description

delete(cc,addr,'type') removes a debug point located at the memory address identified by addr for your target digital signal processor. Object cc identifies which target has the debug point to delete. CCS provides several types of debug points specified by type. To learn more about the behavior of the various debugging points refer to your CCS documentation. Options for type include the following to remove breakpoints and probe points:

When you use it, delete operates in blocking mode, meaning that after you issue the delete command, you do not regain control in the MATLAB® environment until the delete operation is completed successfully — you are blocked from further processing. delete waits for the period defined by either timeout or cc.timeout. If the delete operation does not get completed within the specified time period, delete returns an error and control.

Unlike deleting break and probe points in CCS, you cannot enter addr as a C function name, valid C expression, or a symbol name.

When the type you specify does not match the debug point type at the selected location, or no debug point exists, Embedded IDE Link™ CC returns an error reporting that it could not find the specified debugging point.

delete(cc,addr,'type',timeout) adds the optional input parameter timeout that determines how long Embedded IDE Link CC waits for a response to the request to delete a breakpoint. If the response is not received before the time-out period expires, the deletion process fails with a time-out error. The timeout input argument is valid only when you are deleting a breakpoint. When you omit the timeout argument, delete uses the default value defined by cc.timeout

delete(cc,addr) is the same as the previous syntax except the function defaults to 'break' for removing a breakpoint.

delete(cc,filename,line,'type') lets you specify the line from which you are removing the debug point. Argument line specifies the line number in the source file file in CCS. line, in decimal notation, defines the line number of the debugging point to remove. To identify the source file, argument filename contains the name of the file in CCS, entered as a string in single quotation marks. Do not include the path to the file. delete ignores the path information.type accepts one of two strings — break or probe — as defined previously. When the type of debugging point you specify with the type string does not match the debug point type at the specified location, or no debug point exists, Embedded IDE Link CC returns an error that it could not find the debug point.

delete(cc,filename,line,'type',timeout)adds the optional input parameter timeout that determines how long Embedded IDE Link CC waits for a response to the request to delete a breakpoint. If the response is not received before the time-out period expires, the deletion process fails with a time-out error. The timeout input argument is valid only when you are deleting a breakpoint. When you omit the timeout argument, delete uses the default value defined by cc.timeout

delete(cc,filename,line) defaults to 'break' to remove a breakpoint.

delete(cc,'all') removes all valid breakpoints in the project source files. This does not remove probe points and it does not remove invalid breakpoints..

delete(cc,'all','break',timeout) removes all of the valid breakpoints in the project source files. This command does not remove probe points and it does not remove invalid breakpoints. Note that you can use the optional input parameter timeout that determines how long Embedded IDE Link CC waits for a response to the request to delete all of the debug points. If the response is not received before the time-out period expires, the deletion process fails with a time-out error. When you omit the timeout argument, delete uses the default value defined by cc.timeout.

See Also

address, insert, run

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS
 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS