<p>Hi, I am getting nowhere fixing this bug. It no longer locks up the screen but it does not provide gdb connection.</p>
<p>Could someone confirm I have inserted the right patch at the right line in src/spawn.c</p>
<pre><code>                 gsize n = line_buffer->len;

                        while ((status = g_io_channel_read_chars(channel, line_buffer->str + n,
                                DEFAULT_IO_LENGTH, &chars_read, NULL)) == G_IO_STATUS_NORMAL)
                        {
                           SpawnChannelData *sc = (SpawnChannelData *) data;

        /* The solution for continuous empty G_IO_IN-s is to generate them outselves. :) */
                          return spawn_read_cb(sc->channel, G_IO_IN, data);
</code></pre>
<p>I've been through this a dozen times today and it's still not producing anything in the debugger.  I have run the sample prog from command line gdb and all is fine. But I do not get any output from Scope.  Where should I see this ? Does it produce a VTE terminal like geany gear icon does or is it in one of the tabs in geany?</p>
<p>The only two debug icons that are not greyed out are 'toggle breakpoint' and 'terminate'. Both produce the expected results.</p>
<p>There must be a problem somewhere but it does not seem to be being reported.<br>
in help | debug messages;</p>
<pre><code>
21:44:50: Geany INFO            : Added filetype Clojure (67).
21:44:50: Geany INFO            : Added filetype Scala (68).
21:44:50: Geany INFO            : Loaded libvte from libvte.so
21:44:50: GLib-GObject WARNING  : gsignal.c:2523: signal 'project-before-save' is invalid for instance '0x1538a20' of type 'GeanyObject'
21:44:50: Geany INFO            : Loaded:   /usr/local/lib/geany/scope.so (Scope Debugger)
21:44:50: Geany INFO            : unknown : None (UTF-8)
</code></pre>
<p>I run geany from command line but the only output there is the gsignal warning.</p>
<pre><code> gdb --version
GNU gdb (GDB) Fedora 8.0.1-33.fc26


I love geany as a code editor but I'd like to use its IDE capabilities.  I'm desperate to dump the lumbering eclipse java dinosaur which takes about 5s just to step a single line of code :x


</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1461#issuecomment-355852070">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1WaTipXGGiNxtJoeoqS3sfaSmsIks5tIS-IgaJpZM4M3KqU">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_0CTL7WyzQVCebK4RlG1qiZ6Ms-ks5tIS-IgaJpZM4M3KqU.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1461#issuecomment-355852070"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@J-Dunn in #1461: Hi, I am getting nowhere fixing this bug. It no longer locks up the screen but it does not provide gdb connection.\r\n\r\nCould someone confirm I have inserted the right patch at the right line in src/spawn.c\r\n\r\n\r\n\r\n```\r\n\t\t\tgsize n = line_buffer-\u003elen;\r\n\r\n\t\t\twhile ((status = g_io_channel_read_chars(channel, line_buffer-\u003estr + n,\r\n\t\t\t\tDEFAULT_IO_LENGTH, \u0026chars_read, NULL)) == G_IO_STATUS_NORMAL)\r\n\t\t\t{\r\n                           SpawnChannelData *sc = (SpawnChannelData *) data;\r\n\r\n\t/* The solution for continuous empty G_IO_IN-s is to generate them outselves. :) */\r\n\t                  return spawn_read_cb(sc-\u003echannel, G_IO_IN, data);\r\n```\r\n\r\nI've been through this a dozen times today and it's still not producing anything in the debugger.  I have run the sample prog from command line gdb and all is fine. But I do not get any output from Scope.  Where should I see this ? Does it produce a VTE terminal like geany gear icon does or is it in one of the tabs in geany? \r\n\r\nThe only two debug icons that are not greyed out are 'toggle breakpoint' and 'terminate'. Both produce the expected results. \r\n\r\nThere must be a problem somewhere but it does not seem to be being reported. \r\nin help | debug messages; \r\n```\r\n\r\n21:44:50: Geany INFO\t\t: Added filetype Clojure (67).\r\n21:44:50: Geany INFO\t\t: Added filetype Scala (68).\r\n21:44:50: Geany INFO\t\t: Loaded libvte from libvte.so\r\n21:44:50: GLib-GObject WARNING\t: gsignal.c:2523: signal 'project-before-save' is invalid for instance '0x1538a20' of type 'GeanyObject'\r\n21:44:50: Geany INFO\t\t: Loaded:   /usr/local/lib/geany/scope.so (Scope Debugger)\r\n21:44:50: Geany INFO\t\t: unknown : None (UTF-8)\r\n```\r\n\r\nI run geany from command line but the only output there is the gsignal warning. \r\n\r\n```\r\n gdb --version\r\nGNU gdb (GDB) Fedora 8.0.1-33.fc26\r\n\r\n\r\nI love geany as a code editor but I'd like to use its IDE capabilities.  I'm desperate to dump the lumbering eclipse java dinosaur which takes about 5s just to step a single line of code :x\r\n\r\n\r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1461#issuecomment-355852070"}}}</script>