VxWorks 7: Dynamic printf

Learn how to use the powerful debugging tool, dprintf.

Limited availability | See below

rate limit

Code not recognized.

About this course

Dynamic Printf (dprintf) lets you insert and remove target based software instrumentation messages on the fly. You will see how to do this from the VxWoks target shell, and you will also see the added benefits of using the Workbench debugger with dprintf(). Both VxWorks kernel and RTP domains will be instrumented, and your target CPU’s hardware breakpoint engine will allow you to instrument target variable accesses. You will explore these features in the lab.

Product: VxWorks 7
Based on: SR540
Applicable for: All VxWorks 7

Learning Objectives

Have you ever needed to debug a tricky piece of application code using printf()? If so, you might appreciate the VxWorks dynamic printf facility that’s described in this course. In this video, I’ll introduce dynamic printf, explain why it is useful, and also show you briefly how it’s used.

In this course, you will:

    1. Understand what the dynamic printf facility does.
    2. Understand why dynamic printf is a powerful debugging tool.
    3. Be able to explain why dynamic printf is better than traditional application code instrumentation approaches

 

Course Syllabus:

 

 

About this course

Dynamic Printf (dprintf) lets you insert and remove target based software instrumentation messages on the fly. You will see how to do this from the VxWoks target shell, and you will also see the added benefits of using the Workbench debugger with dprintf(). Both VxWorks kernel and RTP domains will be instrumented, and your target CPU’s hardware breakpoint engine will allow you to instrument target variable accesses. You will explore these features in the lab.

Product: VxWorks 7
Based on: SR540
Applicable for: All VxWorks 7

Learning Objectives

Have you ever needed to debug a tricky piece of application code using printf()? If so, you might appreciate the VxWorks dynamic printf facility that’s described in this course. In this video, I’ll introduce dynamic printf, explain why it is useful, and also show you briefly how it’s used.

In this course, you will:

    1. Understand what the dynamic printf facility does.
    2. Understand why dynamic printf is a powerful debugging tool.
    3. Be able to explain why dynamic printf is better than traditional application code instrumentation approaches

 

Course Syllabus: