Remote debugging: Embedded Linux Target: Why do we need program
?
#13146
Unanswered
paulo-a-junior
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using cpptools to perform remote debugging on Linux embedded targets.
I have had little success using the extension to accomplish this in the past. However, in my lastest trials, I wrote a
launch
request, which worked incredibly well, except for not getting a console nor the application stdout on the debug console, even though I had thelogging
options apparently appropriately set. I even tried with theexternalConsole
option set totrue
, also with no success.I then moved on to attaching to a running process, which after a few hours of trial and error, I got working.
Now, to the question: why do we need a mandatory
program
field specified when attaching to a running process? I don't see why/how the file is used - maybe at most to define the target architecture?For reference, here is my
launch.json
entry:Thanks for any explanation on this =)
PS: Before submitting, I did the required search, and found this as a similar discussion, with no answers.
Beta Was this translation helpful? Give feedback.
All reactions