This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a C project in which the final binary is not on the same directory as the project. Because I use a VCS, I have my sources under ~/src/bla and the project files under ~/NetBeansProjects/bla. When I try to run the debugger, the action fails with an error message saying "/home/thyplosion/NetBeansProjects/bla/binary" does not exist or is not an executable". Going into project properties on the "Run" section, I clearly indicated that the "Run directory" is ~/src/bla/binary This is stopping me from starting a debug session. It was working fine on 7.0 and stopped working when I upgraded to 7.0.1.
I'm not sure I understand correctly: do you specify path to the binary as the run directory? Run directory should be a folder, not a binary. Have you mistyped something?
I think I understand the problem, please verify steps to reproduce: - set run directory to /tmp - set run command to abc - Run or debug the project It still checks for executable: <PROJECT PATH>/abc not /tmp/abc
There are two issues here: 1. IDE does not understand ~ in run command and probably run directory fields (e.g. ~/abc will not be understood) 2. if run command is not absolute it checks for executable in project folder not in run folder as a workaround please specify absolute paths without ~
'~' issues are fixed in the bug 202119, the rest (base dir is used for binary validation instead of run dir) is fixed in: http://hg.netbeans.org/cnd-main/rev/5ae85a1c600b
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/5ae85a1c600b User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #200591 (Run command binary is being checked in project folder not run folder)