Skip to Main Content Skip to Search
Product Documentation

insert - Insert debug point in file

Syntax

IDE_Obj.insert(addr,type,timeout)
IDE_Obj.insert(addr)
IDE_Obj.insert(file,line,type,timeout)

IDEs

This function supports the following IDEs:

Description

IDE_Obj.insert(addr,type,timeout) places a debug point at the provided address of the processor. The IDE_Obj handle defines the processor that will receive the new debug point. The debug point location is defined by addr, the desired memory address. The IDEs support several types of debug points. Refer to your IDE help documentation for information on their respective behavior. The following table shows which debug types each IDE supports.

 CCS IDEEclipse IDEMULTIVisualDSP++
'break' (default)YesYesYesYes
'watch' YesYes 
'probe'Yes   

The timeout parameter defines how long to wait (in seconds) for the insert to complete. If this period is exceeded, the routine returns immediately with a timeout error. In general the action (insert) still occurs, but the timeout value gave insufficient time to verify the completion of the action.

IDE_Obj.insert(addr) same as the preceding example, except the timeout value defaults to the timeout property specified by the IDE_Obj object. Use IDE_Obj.get('timeout') to examine this default timeout value.

IDE_Obj.insert(file,line,type,timeout) places a debug point at the specified line in a source file of Eclipse. The FILE parameter gives the name of the source file. LINE defines the line number to receive the breakpoint. Eclipse IDE provides several types of debug points. Refer to the previous list of supported debug point types. Refer to Eclipse IDE documentation for information on their respective behavior.

IDE_Obj.insert(file,line) same as the preceding example, except the timeout value defaults to the timeout property specified by the IDE_Obj object. Use IDE_Obj.get('timeout') to examine this default timeout value.

See Also

address | run

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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