Author Topic: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.  (Read 37845 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc452-TDM.7z

The 20 July 2011 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20110720_rev7289_DEBUGGER_BRANCH_win32.7z
  - Linux :
   none

Important changes compared to previous DEBUGGER BRANCH nightly:

* debugger_branch: fixed GetDebuggee to return false, when the host application is empty
* debugger_branch: don't loop 100 times, when the terminal/console can't be launched (this is probably a bug in wxExecute)
* all updates that occurred on trunk


Note: Watch parsing prints an error message in the watches window if the parsing fails. If you see this string please report it as a bug.

THIS IS A SPECIAL TEST BUILD OF REFACTORINGS CARRIED OUT ON THE DEBUGGER BRANCH IN OUR SVN.
FOCUS IS ON ENHANCED DEBUGGING USABILITY.

Give your feedback on this version only in this thread, don't mix it with the regular nightly please.

Once we don't have any blockers on this version,we will merge the changes into trunk and it will be part of the regular nightlies.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #1 on: July 20, 2011, 04:21:43 pm »
Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.

If you want to use apt (or dselect, synaptic or whatever) you need to add the following entries to /etc/apt/sources.list :
Code
deb http://apt.jenslody.de/ any dbg
deb-src http://apt.jenslody.de/ any dbg
and remove entries for the normal nightlies.

Alternatively you can download the deb's directly from http://apt.jenslody.de/pool/dbg/c/codeblocks/ .

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #2 on: July 22, 2011, 07:42:35 pm »
This version crash always in my laptop (Windows Vista 32 bits) :(
Installed over last nighty build version or clean install

Simply open an old project and try to do something (close tab, open menu dialog, etc)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #3 on: July 22, 2011, 08:46:05 pm »
Are you sure you've installed it correctly?
What about the normal nightly?
(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 Freem

  • Almost regular
  • **
  • Posts: 219
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #4 on: July 24, 2011, 04:07:40 pm »
If you want to use apt (or dselect, synaptic or whatever) you need to add the following entries to /etc/apt/sources.list :
Code
deb http://apt.jenslody.de/ any dbg
deb-src http://apt.jenslody.de/ any dbg
and remove entries for the normal nightlies.
[/url] .
When we do this, (removing nightly's classic lines and adding dbg ones instead) the package 'jens-lody-debian-keyring' become unavailable.
As same, in the dbg repo, codeblocks-additional is broken, because it depends on 'codeblocks' 'codeblocks-additional-common' and 'libwxsmithlib0' at version 10.05dbg6959-1 and only the 'codeblocks-additional-common' is available in this version.
I guess additional-common are not uptodate.

Anyway, for the keyring's problem, you can just accept with potential problems of corrupted archives, or keep "old" lines of classic nightly, but in this case, the system will want to update to the standard at each update. That's a bit annoying.

The solution I've found, is to keep both entries in sources.list, and add some lines in the "/etc/apt/preferences" file.

This result in having those pieces of text in preferences and sources.list:
Quote from: /etc/apt/preferences
Package: *
Pin: release o=Jens Lody,c=dbg
Pin-Priority: 900

Quote from: /etc/apt/sources.list
deb http://apt.jenslody.de/ any dbg
deb-src http://apt.jenslody.de/ any dbg

deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main

And if you want switch back to classic nightly, just replace the "c=dbg" entry by "c=main".

Offline Manolo

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #5 on: July 25, 2011, 08:21:35 pm »
Hello
I'm using XP, Mingw and GDB 7.2

I can't set breakpoints with the mouse right button.
But it's due the file I'm debugging has the same name as one of wxWidgets 292.
If I pause the debugger, and send a command (break myfile.cpp:xxx) it works.

I found that C:B sends the command with slashes and quotation marks: break "D:/dir1/dir2/myfile.cpp:xxx"
while the command I send is showed with backslashes and no marks: break D:\dir1\dir2\myfile.cpp:xxx

Regards
Manolo

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #6 on: July 26, 2011, 10:16:52 pm »
Posted by: oBFusCATed
Quote
Are you sure you've installed it correctly?

...?

Posted by: oBFusCATed
Quote
What about the normal nightly?

Install 10.05 + uncompress this version + wxWidget.dll + mingw10m.dll

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #7 on: July 26, 2011, 10:22:39 pm »
mushakk:
1. If you are getting random crashes, this means (99%) that you are mixing files from different versions. In the first post you can find information what is the correct way to install a nightly, please re-read it.
2. 10.05 is not a nightly, nor the normal nightly.
(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 mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #8 on: July 28, 2011, 11:30:53 am »
Posted by: oBFusCATed
Quote
1. If you are getting random crashes, this means (99%) that you are mixing files from different versions. In the first post you can find information what is the correct way to install a nightly, please re-read it.

Is this one? http://forums.codeblocks.org/index.php/topic,3232.0.html

I can't see nothing strange...

I'm using GCC 4.5.2 (tdm-1) in a separate directory, GDB 7.2 and I always get the last version of mingwm10.dll and wxmsw28u_gcc_cb.dll. Furthermore I get CB nightly ~'every month' overwriting older versions in this way (including the DLLs):

Normally I have several CB versions in different directories:
 - The last official version 10.05 'original'
 - The last nightly that worked well for me 'working'
 - The last new to test it 'last'

To test the last new version first I duplicate the 'working' copy and overwrite it with the last nightly and DLLs, if not work I try again with the 'original' version and if it not work I say it here for you to know it.
If it works I rename 'working' to 'working_version' and 'last' to 'working'.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #9 on: July 28, 2011, 12:13:54 pm »
Please don't duplicate, but use an empty directory. The nightly is self contained (you need only wxwidgets and mingw in addition to the nightly archive).
If we remove some files from the nightly (recently I've moved some resource files around) the old ones would be left and they can cause problems.
(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 mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #10 on: July 28, 2011, 07:04:12 pm »
Ah, ok, sorry I did it always because I wanted to maintain my config

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #11 on: July 28, 2011, 10:57:09 pm »
Hm, probably you're still living in the win98 days, back then the settings were stored in program files,
now in the future they are stored in the %app_data% in your user's directory. :-P
(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 mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #12 on: July 29, 2011, 05:39:30 pm »
Posted by: oBFusCATed
Quote
Hm, probably you're still living in the win98 days, back then the settings were stored in program files,
now in the future they are stored in the %app_data% in your user's directory. Razz

hahahahahah ;)

^_^

Offline Randajad

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #13 on: August 07, 2011, 03:53:42 pm »
Path to debugger doesn't support $(CODEBLOCKS) variable. :(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #14 on: August 07, 2011, 10:31:40 pm »
Added to the TODO.
(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 Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #15 on: August 08, 2011, 06:57:18 am »
Path to debugger doesn't support not only $(CODEBLOCKS) variable, but $(TARGET_COMPILER_DIR)
and all Globals variables settings too.
Also the bug present in Global Compiller settings ->Toolchain Executables->Debugger selection
After any debugger selection the selection is repeat. Please look attach.
Thanks. 

[attachment deleted by admin]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #16 on: August 08, 2011, 09:27:07 am »
All variables are handled with one call, so it is an easy fix...

What are the exact steps to reproduce the second 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 Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #17 on: August 08, 2011, 10:21:53 am »
When I change selected compiler on Settings->Compiler->Selected Compiler
more than ones and select its again this effect is present.
Look attach screenshots.

Thanks.

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #18 on: August 08, 2011, 10:22:36 am »
Step2

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #19 on: August 08, 2011, 10:23:08 am »
Step3

[attachment deleted by admin]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #20 on: August 08, 2011, 10:47:40 am »
OK, I've reproduced it. Will fix it someday:)

Please next time do not abuse the attached files for the forum.
Our space is limited and when we get "no space left on the device" on the server the admins delete content at random.
Please next time use a picpaste type of service (imageshank, photobucket and such).
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #21 on: August 09, 2011, 01:40:48 am »
Fixed in the branch, thanks for the report.
(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 Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 20 July 2011 build (7289) DEBUGGER BRANCH version is out.
« Reply #22 on: August 09, 2011, 08:35:30 am »
Excuse me for inconveniently screenshots...

Thanks for You work.