Thank you, Reco. After $ sudo apt-get install geany-plugin-debugger ,the Debug tab appeared at the below partof Geany.
In the "Build"/"Set Build Commands" menu, I've set compile: gcc -Wall -g -c "%f" build: gcc -Wall -g -o "%e" "%f" I tried to do debugging the following code for a test. #include <stdio.h> int main() { double x = 3; printf("%d ", x); return 0; } When I press the Run button in Debug tab, a message box appears saying "Error loading file". the terminal output at that time : (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_string_free: assertion 'string != NULL' failed (geany:6702): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed How can I do debugging in Geany successfully? And in the "Breakpoints" tab, an old breakpoint of a past file still remains. How can I delete this? EenyMeenyMinyMoa 2016-02-22 16:38 GMT+08:00, Reco <recovery...@gmail.com>: > Hi. > > On Mon, 22 Feb 2016 16:21:31 +0800 > EenyMeenyMinyMoa <eenymeenyminy...@gmail.com> wrote: > >> Hi, >> refering to >> >> https://packages.debian.org/search?lang=en&suite=all&searchon=names&keywords=geany-plugin-gdb >> >> I added the line >> deb http://ftp.jp.debian.org/debian/ wheezy main >> to /etc/apt/sources.list, and apt-get updated, >> but I was not able to install geany-plugin-gdb. > > And you should not be able to as most of geany plugins depend on exact > version of geany. > > This: > >> geany-plugin-gdb : Depends: geany-plugins-common (= 0.21.1.dfsg-4) but >> 1.24+dfsg-5 is to be installed > > clearly shows us that you have installed geany from jessie, so the only > kind of plugins that fit your install are geany plugins from Jessie. > > >> What should I do? > > Try installing 'geany-plugin-debugger' instead. > > >> And why isn't geany-plugin-gdb in the jessie repository? > > My guess is that they simply renamed the package. > > Reco >