cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Contributor
Contributor
321 Views
Registered: ‎11-20-2018

Generating debug info by tcl

Hello

To generate debug info while compiling via v++ command-line flow the -g option should be included.

How can I generate the same debug info via tcl code? I build the .xo file via tcl and then link it via v++. but I cannot launch the live wave form as the debug info is missing.

0 Kudos
Reply
2 Replies
Moderator
Moderator
292 Views
Registered: ‎11-04-2010

The following xrt.ini file will enable maximum information gathering when the application is run:
[Debug]
profile=true
power_profile=true
timeline_trace=true
data_transfer_trace=coarse
stall_trace=all

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Contributor
Contributor
240 Views
Registered: ‎11-20-2018

Hi@hongh

I think what you mentioned here is for debug information gathering on runtime, but in the first place the kernels should be compiled while debugging is enabled similar to what v++ -g does.

 

 

0 Kudos
Reply