Author Topic: debug slower and slower  (Read 511 times)

Offline lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 14
debug slower and slower
« on: March 23, 2018, 09:20:27 am »
I am using C::B 16.01 and gcc 4.4.3.

There are many variables in my program which use about 1MB stack. First time I trigger a breakpoint in the program, the watch table refreshed quickly. But next time, it will be a little slower. By time to time, it will be slower and slower. Some time it maybe take up to one minute to respond and refresh the watch table.

But if I restart C::B, it will be quick again. And then slower and slower... And CPU usage is higher and higher.

I'd like to know is the problem a bug of C::B or GCC? Do I have any mathod to solve it?

Thank you very much.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11277
    • Travis build status
Re: debug slower and slower
« Reply #1 on: March 23, 2018, 09:22:26 am »
Can you provide a minimal project which can be used to reproduce the problem?
(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 lxr5109

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: debug slower and slower
« Reply #2 on: March 23, 2018, 09:42:53 am »
OK, I will try to make a demo to reproduce this problem later.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11277
    • Travis build status
Re: debug slower and slower
« Reply #3 on: March 23, 2018, 10:28:06 am »
Just keep in mind that if you're debugging growing arrays/vectors this is the expected behaviour.
The communication between cb and gdb is not the fastest at the moment.
If you see a slow down with the same amount of data then this is a bug.

Also it will be good if you could try 17.12 or a newer night build.
(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 rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: debug slower and slower
« Reply #4 on: March 23, 2018, 07:00:53 pm »
I do not know if it's the same case as mine, but I have a small project, it takes very little RAM. I work on it for several hours. But at the end of the day, sometimes when compiling the project (F9 or F8) it strangely gets several times slower to compile. In this case I am required to restart my Windows. Was it something like this?
Windows 8.1

SVN 11400