Isa-Worcs created an issue (geany/geany-plugins#1429)

Hi,
I have recently been using the debugger plugin, and have found some bugs.
The io from gdb goes out of sync, and file markers stop appearing.
I have found a couple of reasons for this, and have made some changes that seem 
to fix
these issues. I give the diff of dbm_gdb.c below, for those interested..

```
diff -r new/src/dbm_gdb.c /home/devel/geany-plugins-1.38/debugger/src/dbm_gdb.c
625,629d624
<       if (gdb_id_out)
<         {
<                 g_warning("exec_sync: gdb_io already assigned - command=%s", 
command);
<                 return RC_ERROR;
<         }
645,649d639
<       if (lines == NULL)
<         {
<                 g_thread_yield();
<                 lines = read_until_prompt();
<         }
696,697d685
<       if (rc == RC_ERROR)
<               g_warning("exec_sync: returning error");
```

I hope it is useful for someone.. Thanks.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1429
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/[email protected]>

Reply via email to