updating/running the most recent version.
For me now, it's still much easier to debug in windows than in Linux, because I'm not yet comfortable with gdb in comman-line.
There are GUI frontends for gdb, including the old "ddd" as well as modern bloatware like eclipse ;)