Page 1 of 1

Debug question

Posted: Thu Nov 17, 2016 11:56 pm
by jerryd
Codelite forum,

Codelite 9.2.6
Not self compiled
Windows 7 Professional SP1
Compiler version mingw-w64
C++ Compiler Options -g;-O0;-Wall

I have been using Codelite with SFML for a few weeks and have a few
programs working. The problem I'm having is the Debugger works with
some programs in my Workspace and doesn't work with others. I have
checked the Debug folder in all my programs and they are all complete.
I can set a breakpoint on the first executable line in the ones that
don't work but when I start the program with the "Debug" button the
program starts to run but bails out after a few seconds with no error
message or debug log.

Any suggestions?

Jerry D

Re: Debug question

Posted: Fri Nov 18, 2016 12:10 am
by eranif
Please read the HOW TO POST link (see my signature) and post relevant information

Re: Debug question

Posted: Mon Nov 21, 2016 10:33 pm
by jerryd
Codelite forum,

I found a workaround for this problem. I open a program and set a
breaktrap, then run the program with "Build>Run>Execute". Now click
on "Debugger>Delete All Breaktraps". Now reset a breaktrap and
click "Debugger>Start/Continue Debugger>Build and Debug". Now the
debugger always works for this program. Strange.

This sequence must reset something.

Jerry D.