Code::Blocks
October 21, 2014, 06:44:14 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Don't forget to check the Nightly builds in the appropriate forum.
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 [2]  All   Go Down
  Send this topic  |  Print  
Author Topic: The 18 December 2010 build (6900) DEBUGGER BRANCH version is out.  (Read 11459 times)
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8672



« Reply #15 on: January 15, 2011, 02:10:58 pm »

@Martin : can you perform a merge : trunk -> debug branch
Sorry, I read this a little late (now). I've taken the appropriate steps.
Logged

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
killerbot
Administrator
Lives here!
*****
Offline Offline

Posts: 4821


« Reply #16 on: January 17, 2011, 01:31:33 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:
#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 !!!

fix confirmed in rev 6922
Logged
Pages: 1 [2]  All   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!