How to enable debug/trace log on Tx2 while running sample codes

Hi Nvidia,

I want to check debug/trace log when running sample code. how can i enable log , i check readme.txt and make file i didnt got any info on enabling log/traces. because for few scenarios for capturing video & audio, i am getting errors .

Regards,
raza

The normal system debug output would be from dmesg. “dmesg --follow” will follow this output in real time. There are options, see “man dmesg”.

There is of course the possibility of running in a debugger after adding symbols, but this is normally for a crash to see the stack frame. Are you wanting to see what happens at the moment of a crash, or just see what the system is saying? The dmesg tool is simple and has no requirements, debuggers have a learning curve.