Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Role of the C Compiler in OCDI Debugging (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

The build plug-in VI calls a third-party target-specific compiler for each generated LabVIEW C Code Run-Time Library and external source file. The generated C code contains special comments that help the C parser find the symbols of all controls, signals, and positions of all possible breakpoints in the VI. The C compiler outputs an intermediate object module and a list file. The list file must contain enough information to enable the list parser to translate line numbers of the generated C files into relative symbol offsets. Executing the compiler with the correct debugging and list options is important for generating a list file that the list parser can understand.

Note  Parsing the list and map files is one way of extracting the necessary information to populate the LVM file. Your toolchain might provide a different way to extract the necessary information.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit