Debug's cryptic error message: "Program file does not exist"

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Jeddison
Level 1
Level 1
First solution authored First reply posted First question asked
Hi,

I have encountered a problem with debug.

I launched Debug As
DAVE C/C++ Application

The error message was very cryptic and did not help in finding the solution.
The error message is as follows:

5396.attach



After looking into the problem I realised that the missing file is not mentioned in the Debug Configurations window in the field of C/C++ Application.
See in the attachment below:

5397.attach



The solution is to add the file in the field see bellow:

5398.attach

I hope this helps if you have the same problem.

Greetings
0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

Thanks for sharing your solution with community. This normally happens when you have created a debug configuration before building the project. This will be automatically added if project is build first.
You can also create another debug configuration by double clicking on GDB SEGGER J-Link Debugging on left side.

Best Regards,
Vasanth

View solution in original post

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

Thanks for sharing your solution with community. This normally happens when you have created a debug configuration before building the project. This will be automatically added if project is build first.
You can also create another debug configuration by double clicking on GDB SEGGER J-Link Debugging on left side.

Best Regards,
Vasanth
0 Likes