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.
Hi all, I tried to set up a gdb init which would be launched during debugging of C/C++ project on remote host. Unfortunately, it looks like that local path is passed to remote process without path translations. Steps to reproduce: 1. Open project properties. 2. Choose a local file (i.e. form project directory, or directory mapped in C/C++ remote hosts configuration), by entering it manually or by selecting it via file browser 3. Start debugging Actual result Command in init file are not applied in GDB Expected result Command in init file should be executed in GDB Comments Manually entering a path which is valid on remote machines will make init file loaded. And here just few suggestion - mapping of local path to remote ones, - streaming init files to GDB through stdin & change setting name to Local GDB init file
Fixed in: http://hg.netbeans.org/cnd-main/rev/71b99a9cc399
Integrated into 'main-silver', will be available in build *201504290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/71b99a9cc399 User: Nikolay Koldunov <henk89@netbeans.org> Log: Fixed #251707 - GDB fails loading init file when debugging on remote host