Closed poddar414 closed 2 years ago
It seems issue is related to https://github.com/microsoft/vscode-cpptools/issues/7515 I followed the guide https://github.com/Microsoft/MIEngine/wiki/Troubleshoot-attaching-to-processes-using-GDB
I used the commands:
echo 0| sudo tee /proc/sys/kernel/yama/ptrace_scope sudo setcap cap_sys_ptrace=eip /usr/bin/gdb
But issue still there. I am using remotedesktop to ubuntu18.04 machine. It used to work perfectly fine for years, but not sure why this happened now.
this was my local issue. I was able to do remote desktop, but not able to do SSH to the ubuntu machine because of my office authentication issue. Surprisingly I was able to do remote desktop but not SSH. After fixing my authentication issue , i was able to do SSH to machine and was able to do debugging in remote desktop connected environment as well.
Thanks.
Environment
Bug Summary and Steps to Reproduce
Bug Summary: Debugger exits.
Steps to reproduce: Use the mentioned json file, and launch the debugger. On Terminal I see "&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n" &"warning: Cannot exec /bin/expired\n" &"warning: -c\n" &"warning: exec /home/a0393749/deepak_files/ti/c7x-mma-tidl-before/ti_dl/utils/tidlModelImport/out/tidl_model_import.out /user/a0393749/deepak_files/ti/c7x-mma-tidl-before/ti_dl/test/testvecs/config/import/public/onnx/tidl_import_tiad_jpointPillars.txt\n" &"warning: Error: No such file or directory\n" [1] + Done "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-gxuouxy4.cy1" 1>"/tmp/Microsoft-MIEngine-Out-knahyqaq.0wq""
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response