title: How can I show print statements in debug mode of OPNET Modeler?
body: <p>I'm writing C++ code in OPNET Modeler.
  I try to simulate my scenario in debugger mode &amp; I need to trace the function that I wrote it. I need to show print statements which I put it in my code.</p>
  
  <p>I used in debugger mode: <code>***ltr function_name()***</code> then <code>***c***</code></p>
  
  <p>But the result looks like:</p>
  
  <pre><code>Type 'help' for Command Summary
  
  
  ODB&gt; ltr enqueue_packet()
  Added trace #0: trace on label (enqueue_packet())
  
  ODB&gt; c
  |-----------------------------------------------------------------------------|
  | Progress: Time (1 min. 52 sec.); Events (500,002)                           |
  | Speed: Average (82,575 events/sec.); Current (82,575 events/sec.)           |
  | Time : Elapsed (6.1 sec.)                                                   |
  | DES Log: 28 entries                                                         |
  |-----------------------------------------------------------------------------|
  |-----------------------------------------------------------------------------|
  | Progress: Time (1 min. 55 sec.); Events (1,000,002)                         |
  | Speed: Average (69,027 events/sec.); Current (59,298 events/sec.)           |
  | Time : Elapsed (14 sec.)                                                    |
  | DES Log: 28 entries                                                         |
  |-----------------------------------------------------------------------------|
  |-----------------------------------------------------------------------------|
  | Progress: Time (1 min. 59 sec.); Events (1,500,002)                         |
  | Speed: Average (51,464 events/sec.); Current (34,108 events/sec.)           |
  | Time : Elapsed (29 sec.)                                                    |
  | DES Log: 28 entries                                                         |
  |-----------------------------------------------------------------------------|
  |-----------------------------------------------------------------------------|
  | Simulation Completed - Collating Results.                                   |
  | Events: Total (1,591,301); Average Speed (48,803 events/sec.)               |
  | Time  : Elapsed (33 sec.); Simulated (2 min. 0 sec.)                        |
  | DES Log: 29 entries                                                         |
  |-----------------------------------------------------------------------------|
  |-----------------------------------------------------------------------------|
  | Reading network model.                                                      |
  |-----------------------------------------------------------------------------|
  </code></pre>
  
  <p>I need to show the print statements in my code.
  Where it has to be appeared?
  Is there any step before run the simulation to insure that OPNET debugger using Visual Studio &amp; go through my code??</p>