How to debug the Xavier from another PC

Hello,

I was looking for a way to programm/ debug my xavier from another pc. I search the internet but didn’t find anything helpful. I have two pc’s, one with windows 10 and another with ubuntu 18.4 (which I used to flash the xavier).

I have started writing a programm with cuda and need to debug it.

Could anyone help me?

Hi,

You can try to link the device with ssh and debug it with cuda-gdb directly.
Thanks.

Hi, I have similar question. I am trying to debug on device directly, but cuda-gdb hang with cuda program and totalview crashed inside cuda library initialization. Do I need to set some ENV variables, or compile with some debug flag. HEre is my command:
/usr/local/cuda-10.0/bin/nvcc -gencode arch=compute_72,code=sm_72 -g -G -Xlinker=-R/usr/local/cuda-10.0/lib64 -Xlinker=–no-as-needed

Hi,

Due to CUDA toolkit permission restrictions, please launch the debugging/profiling tool with root authority.
Thanks.