Branch: refs/heads/master Author: Dimitar Toshkov Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Toshkov Zhekov dimitar.zhekov@gmail.com Date: Sun, 16 Apr 2017 15:33:15 UTC Commit: c33a51f8aafc7153c0225a427b8c82a9c2e187a6 https://github.com/geany/geany-plugins/commit/c33a51f8aafc7153c0225a427b8c82...
Log Message: ----------- Improve the error message on attempting to run gdb
On failure to run gdb, Scope displays only the generic error message, such as "The system cannot find the file specified", giving the impression that the executable to be debugged is missing or has some other problem. This patch changes the message to "<gdb name>: <error>", for example "gdb: The system cannot find the file specified" (unlikely under *nix, but gdb may be missing from the PATH under Windows).
Modified Paths: -------------- scope/src/debug.c
Modified: scope/src/debug.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -458,7 +458,7 @@ static void load_program(void) } else { - show_error(_("%s."), gerror->message); + show_error(_("%s: %s."), pref_gdb_executable, gerror->message); g_error_free(gerror); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org