Author Topic: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.  (Read 12526 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 4828
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_wx2810_gcc441.7z

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

The 18 December 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20101218_rev6900_DEBUGGER_BRANCH_win32.7z
  - Linux :
   none

Important changes compared to previous DEBUGGER BRANCH nightly:

* debugger_branch: applied patch dbg_refactor0018.1:
- stopping (break command) doesn't work when attach to process is used on windows
- when stopping the debugger, the kill and quit commands weren't executed
* debugger_branch: applied dbg_refactor0019.0.patch:
- step into executes start instead of run (regression caused by the patch 0017.x)
- console window is hidden when remote debugging on windows (thanks Pecan)
- the string used in evaluate tooltip is trimmed and only the first line is used
- fixed some parsing issues related to the '<repeats X times>'
- fixed a spelling error in the name of MainFrame::OnGetActiveLogWindow
- added more tests to the test project for the debugger
* 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 ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4184
  • Interests on OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #1 on: December 19, 2010, 10:59:35 am »
great.
I have already download this package from the berliOS before your wrote this post. :wink:
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.

Dizev

  • Guest
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #2 on: December 19, 2010, 11:56:58 pm »
How do i get it for ubuntu?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 6665
    • Jens unofficial debian-repository for the Code::Blocks - IDE
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #3 on: December 20, 2010, 12:07:07 am »
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: [Select]
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/ .
Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 7785
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #4 on: December 20, 2010, 01:40:14 am »
You'll have to build it from source
<debugger plugin maintainer>
(most of the time I ignore long posts)

midshipracer

  • Guest
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #5 on: December 23, 2010, 09:41:43 pm »
Hello,

Let me start off saying that I love Code::Blocks and I use it in my profession everyday. However, I'm having trouble with this debugger nightly build.

1. It's difficult to instantly determine which button I'm supposed to click with the new artwork for the debug buttons (continue, step over, etc.). The old ones made much more sense.

2. The new watch layout is clunky. I can't seem to find a way to dereference a pointer. This has actually forced me to revert to an older version. It is just unusable.

Thanks,
Kevin

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 7785
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #6 on: December 27, 2010, 12:59:11 pm »
1. It's difficult to instantly determine which button I'm supposed to click with the new artwork for the debug buttons (continue, step over, etc.). The old ones made much more sense.
You'll get used to them (I was against them too) or better learn the key shortcuts :)

2. The new watch layout is clunky. I can't seem to find a way to dereference a pointer. This has actually forced me to revert to an older version. It is just unusable.
1. Press "Insert" and add the * before the pointer. Unfortunately it was not working on windows the last time I tried.
2. Right click -> Rename and add the * ....

I can add the dereferencing if it is such an important feature...
<debugger plugin maintainer>
(most of the time I ignore long posts)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 4828
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #7 on: January 06, 2011, 12:57:18 pm »
just found a debugger bug with the watches. No refresh of values when watch window has been closed in between.

Input :
simple console application , this is the code :
Code: [Select]
#include <iostream>


int main()
{
int foo  = 0;
foo = foo + 20;
    std::cout << foo << std::endl;


double result = foo / 1.5;
std::cout << result << std::endl;
    return 0;
}

put a breakpoint on line "foo = foo + 20;"

Let's start with a happy path :
- start debugger
- when breakpoint hit : watch "foo", and make the watches window visible
- step to next statement ==> foo is nicely updated in the watch window (20)

the BUG path :
- start debugger
- when breakpoint hit : watch "foo", and make the watches window visible (in case not yet watched and visible)
- now close the watch window !!!!!!!!!!!!!
- step to next statement
- make watch window visible again ===> BUG : foo is not updated in the watch window, is still on 0, and not on 20
NOTE : tooltip does show the new value.

So it seems a refresh is not being carried out !!!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 7785
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #8 on: January 06, 2011, 02:47:20 pm »
Added to the TODO, will look at it tonight, thanks
<debugger plugin maintainer>
(most of the time I ignore long posts)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 4828
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #9 on: January 13, 2011, 11:31:11 am »
any news on the above discovered issue ?

EDIT : or other improvements ? If so maybe we can target a new nightly this weekend ?
@Martin : can you perform a merge : trunk -> debug branch
« Last Edit: January 13, 2011, 11:32:46 am by killerbot »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 7785
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #10 on: January 13, 2011, 12:29:10 pm »
Killerbot: no, I've not worked on the C::B lately. I hope that I can do so tonight or in the weekend.

For the merge, I think we should wait for the commit of the new plugin by Jens :)
<debugger plugin maintainer>
(most of the time I ignore long posts)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 4828
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #11 on: January 13, 2011, 01:23:29 pm »
yes, we want that new plug in :-)

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 6665
    • Jens unofficial debian-repository for the Code::Blocks - IDE
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #12 on: January 13, 2011, 03:04:54 pm »
Killerbot: no, I've not worked on the C::B lately. I hope that I can do so tonight or in the weekend.

For the merge, I think we should wait for the commit of the new plugin by Jens :)
yes, we want that new plug in :-)

I just committed it.
« Last Edit: January 13, 2011, 04:14:16 pm by jens »
Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 8695
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #13 on: January 13, 2011, 03:14:45 pm »
yes, we want that new plug in :-)
yes, we want that new plug in :-)
Aaaah - double quote of the same to increase the votes... Never trust a statistics you didn't fake... ;-) :lol: :lol: :lol:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 6665
    • Jens unofficial debian-repository for the Code::Blocks - IDE
Re: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.
« Reply #14 on: January 13, 2011, 04:15:29 pm »
yes, we want that new plug in :-)
yes, we want that new plug in :-)
Aaaah - double quote of the same to increase the votes... Never trust a statistics you didn't fake... ;-) :lol: :lol: :lol:

Corrected now in original post  :roll:
Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/