Author Topic: The 14 April 2012 build (7932) is out.  (Read 118349 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 April 2012 build (7932) is out.
« Reply #15 on: April 17, 2012, 05:25:39 am »
7932 has the lag
7925 appears to have the lag
7917 appears to have the lag
7452 no lag
7385 no lag
I do not have such lag.
Quote
When using 7392 it takes 10 seconds before I see anything in the build log window (i.e. that no rebuild is required) after pressing the toolbar build button. With the old nightly (7452), the respons is immediate.
In my Computer (WinXP, C::B nightly build 7932), the build log shows immediate after I press the toolbar button.
Did you use "debugger branch nightly" or "normal trunk nightly". Can you do some test to see from which nightly build version, the lag begins. Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline NilC

  • Single posting newcomer
  • *
  • Posts: 9
Re: The 14 April 2012 build (7932) is out.
« Reply #16 on: April 17, 2012, 01:15:50 pm »
oBFusCATed,
7790 - no lags,
7918 (debugger brunch), 7917 (main brunch) - first builds with lags


Offline vollkorn

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 14 April 2012 build (7932) is out.
« Reply #17 on: April 18, 2012, 10:48:25 am »
Hi,

I'm new to windows and was looking for a nice alternative to MS Visual Studio 2010. So I wanted to try CB for the first time and installed the nightly 7932 as described in the first post of this thread on a Win7 64 bit machine. Then I chose the installed MSVC 2010 compiler, skipped the spellchecker installation and file association and tried to import a *.sln file. I said yes to using the default compiler and yes to import all settings, but then CB dies and I'm offered to close or debug the program. When starting the debugger I can't figure out much though b/c I don't have the sources installed.

How can I help debugging this problem?

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: The 14 April 2012 build (7932) is out.
« Reply #18 on: April 19, 2012, 12:00:52 am »
You gave steps, but there is also the crash log which could help them.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 14 April 2012 build (7932) is out.
« Reply #19 on: April 19, 2012, 08:24:22 am »
How can I help debugging this problem?
Provide a simple test case (i.e. a minimal MSVS project) to reproduce.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline vollkorn

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 14 April 2012 build (7932) is out.
« Reply #20 on: April 19, 2012, 09:54:04 am »
In this post you can find the report file with three crashs and a test.sln I tried to open during the last crash.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 14 April 2012 build (7932) is out.
« Reply #21 on: April 19, 2012, 01:28:58 pm »
In this post you can find the report file with three crashs and a test.sln I tried to open during the last crash.
Having just the solution file is not enough, because there is nothing to import. Please provide a full minimal sample, including at least the project files. To try, please copy your solution / project / other files (step-by-step, as needed) into a new folder an try to import from there until C::B crashes, that provide exactly that full set of files (zipped) here.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline vollkorn

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 14 April 2012 build (7932) is out.
« Reply #22 on: April 19, 2012, 01:46:12 pm »
I deleted the debug folders and the SQL server's file to meet the space limit of this upload funciton.

[attachment deleted by admin]

Offline vollkorn

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 14 April 2012 build (7932) is out.
« Reply #23 on: April 19, 2012, 01:49:28 pm »
Sorry, I forgot to mention: The crash occurs already with the test.sln only. No other files needed, but I included as much as possible just to make sure.

Offline nenin

  • Almost regular
  • **
  • Posts: 202
Re: The 14 April 2012 build (7932) is out.
« Reply #24 on: April 19, 2012, 04:05:36 pm »
Not found any lags at 7932 and do not remember ones with DEBUGGER BRANCH. Now I use niXman mingw package (http://sourceforge.net/projects/mingwbuilds/), but similar situation was with TDM mingw + ollydbg gdb. Lags occurs when I try to view large STL containers.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #25 on: April 19, 2012, 04:08:40 pm »
Lags occurs when I try to view large STL containers.
Explain please. What does it mean view?
(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 nenin

  • Almost regular
  • **
  • Posts: 202
Re: The 14 April 2012 build (7932) is out.
« Reply #26 on: April 19, 2012, 05:43:01 pm »
Lags occurs when I try to view large STL containers.
Explain please. What does it mean view?
"View" means "watch under debugger".   

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #27 on: April 19, 2012, 05:55:15 pm »
OK, this is normal and it is unfixable at the moment.
(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 nenin

  • Almost regular
  • **
  • Posts: 202
Re: The 14 April 2012 build (7932) is out.
« Reply #28 on: April 19, 2012, 06:00:36 pm »
OK, this is normal and it is unfixable at the moment.
I wonder if it possible to tune gdb to show, for example, first 100 elements in container by default.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #29 on: April 19, 2012, 06:24:24 pm »
You have to edit the python scripts or the stl-views.gdb script in C::B to do it.
(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!]