Revision: 2126 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2126&view=re... Author: cesspit Date: 2011-08-06 21:02:48 +0000 (Sat, 06 Aug 2011)
Log Message: ----------- debugger plugin: - fixed bug with several frames with no sources when setting frame markers
Modified Paths: -------------- trunk/geany-plugins/debugger/src/debug.c
Modified: trunk/geany-plugins/debugger/src/debug.c =================================================================== --- trunk/geany-plugins/debugger/src/debug.c 2011-08-06 20:44:03 UTC (rev 2125) +++ trunk/geany-plugins/debugger/src/debug.c 2011-08-06 21:02:48 UTC (rev 2126) @@ -159,7 +159,10 @@ while (iter) { frame *next = (frame*)iter->data; - markers_remove_frame(next->file, next->line); + if (next->have_source) + { + markers_remove_frame(next->file, next->line); + } iter = iter->next; } } @@ -178,7 +181,10 @@ while (iter) { frame *next = (frame*)iter->data; - markers_add_frame(next->file, next->line); + if (next->have_source) + { + markers_add_frame(next->file, next->line); + } iter = iter->next; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org