Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: jaydi_21 on March 21, 2018, 05:55:46 pm

Title: Debugging feature is not working
Post by: jaydi_21 on March 21, 2018, 05:55:46 pm
I'm trying to debug a fortran program. I have found that the problem starts to occur at iteration 1200. So I set a breakpoint whenever iterations are higher or equal than 1200 (using the "break when expresion is true" option), but codeblocks simply change the iterations to that number since the very first iteration! It did the same with another parameter, for example a value N, I set a break point for N=100...and codeblocks didn't run all the 99 previous values! What should I do?
Title: Re: Debugging feature is not working
Post by: oBFusCATed on March 21, 2018, 07:11:33 pm
Have you inspected the full log of the debugger?
Probably there is some error while setting the breakpoint.
Title: Re: Debugging feature is not working
Post by: jaydi_21 on March 21, 2018, 07:30:40 pm
There is no relevant information there  :'(  :'( It just says,
Starting debugger
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Child process PID: 15452
At C:\Users\

Apparently it runs smoothly, but I realized it's not doing what it should do!
Title: Re: Debugging feature is not working
Post by: BlueHazzard on March 21, 2018, 08:01:01 pm
You have to enable the full debugger log:
Settings->Debugger->Common->Enable full loging