Author Topic: Debugging feature is not working  (Read 2433 times)

Offline jaydi_21

  • Single posting newcomer
  • *
  • Posts: 2
Debugging feature is not working
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debugging feature is not working
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jaydi_21

  • Single posting newcomer
  • *
  • Posts: 2
Re: Debugging feature is not working
« Reply #2 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!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Debugging feature is not working
« Reply #3 on: March 21, 2018, 08:01:01 pm »
You have to enable the full debugger log:
Settings->Debugger->Common->Enable full loging