Author Topic: The 25 August 2012 build (8248) is out.  (Read 171898 times)

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 25 August 2012 build (8248) is out: I do not have Local Variables
« Reply #45 on: September 08, 2012, 07:54:51 pm »
Hello,

I have the Aug 25 8248 build, when debugging Watch window does not show Local Variables and Function Parameters. Both are set in Debugger->Default by default and greyed out so it's not even possible to clear these settings.

How to enable those?

Thanks.

Edit: I am on Ubuntu.
« Last Edit: September 08, 2012, 08:04:54 pm by const451 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
(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 const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 25 August 2012 build (8248) is out.
« Reply #47 on: September 08, 2012, 08:49:12 pm »
> The automatic inclusion of local variables and function arguments have not being reimplemented.

That's inconvenient. I hope it will be added back.

Offline havefun

  • Single posting newcomer
  • *
  • Posts: 6
Re: The 25 August 2012 build (8248) is out.
« Reply #48 on: September 10, 2012, 10:35:49 am »
where is the vertical scrolled bar?I can't see it in your image!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 25 August 2012 build (8248) is out.
« Reply #49 on: September 11, 2012, 09:53:22 am »
where is the vertical scrolled bar?I can't see it in your image!
Sorry, this is a mistake, should be "horizontal scroll bar".
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 nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: The 25 August 2012 build (8248) is out.
« Reply #50 on: September 15, 2012, 11:36:15 am »
Why do not we use mingbuilds instead of TDM ?

mingwbuilds (NOT official ming) :  http://sourceforge.net/projects/mingwbuilds/reviews/

with mingwbuilds , we can try out all the C++11 features in this release of g++.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 25 August 2012 build (8248) is out.
« Reply #51 on: September 15, 2012, 11:37:21 am »
nanyu: Who stops you to install mingw instead of TDM?
(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 25 August 2012 build (8248) is out.
« Reply #52 on: September 15, 2012, 04:07:56 pm »
Why do not we use mingbuilds instead of TDM ?

mingwbuilds (NOT official ming) :  http://sourceforge.net/projects/mingwbuilds/reviews/

with mingwbuilds , we can try out all the C++11 features in this release of g++.
I use mingwbuilds  with c::b. And you can. Just do it.  :) But there are no any profit to build c::b with mingwbuilds now: mingwbuilds uses sjlj exceptions. 

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: The 25 August 2012 build (8248) is out.
« Reply #53 on: September 16, 2012, 06:57:04 am »
Why do not we use mingbuilds instead of TDM ?

mingwbuilds (NOT official ming) :  http://sourceforge.net/projects/mingwbuilds/reviews/

with mingwbuilds , we can try out all the C++11 features in this release of g++.
I use mingwbuilds  with c::b. And you can. Just do it.  :) But there are no any profit to build c::b with mingwbuilds now: mingwbuilds uses sjlj exceptions. 

but c::b build with TDM uses sjlj exceptions also?

Offline sophron

  • Single posting newcomer
  • *
  • Posts: 7
Re: The 25 August 2012 build (8248) is out.
« Reply #54 on: September 16, 2012, 05:04:25 pm »
C::B becomes unresponsive, when watching big data structure on a debug session.
It has been an issue since the new debuggers branch merged into the C::B code base.

referring to
http://forums.codeblocks.org/index.php/topic,16868.0.html

Offline Hadomunt

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 25 August 2012 build (8248) is out.
« Reply #55 on: September 23, 2012, 07:04:05 pm »
Why do not we use mingbuilds instead of TDM ?

mingwbuilds (NOT official ming) :  http://sourceforge.net/projects/mingwbuilds/reviews/

with mingwbuilds , we can try out all the C++11 features in this release of g++.

jaj C++11 (not sarcastic, sincere joy)

Offline grooveordie

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 25 August 2012 build (8248) is out.
« Reply #56 on: September 26, 2012, 08:03:07 pm »
I am not sure if this is new or not, but I feel the need to share.

In debug watches window, a numeric array is shown like this:

Code
array
   [0]   1 <repeats 23 times>
   [1]   5
   [2]   3 <repeats 4 times>

On strings this is useful, but on numeric arrays it might be a little bit confusing.

And in the debug watches window, if you want to rename a variable, you will see that the selection is not highlighted.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 25 August 2012 build (8248) is out.
« Reply #57 on: September 26, 2012, 09:28:57 pm »
grooveordie:
What version of GDB is this?
I doubt it can be done anything about it, unfortunately.

About the second issue, yes this is a know issue and it is an issue of wxPropertyGrid, we are using for the watches.
When I was implementing the new watches, I've mentioned this issue to the creator of wxPropGrid and he said we will
see what can be done. But I think he is now missing. wxPropertyGrid is now merge inside wx2.9,
but I've not tried to use C::B compiled against wx2.9, so I don't know if this has been fixed there.
(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 grooveordie

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 25 August 2012 build (8248) is out.
« Reply #58 on: September 27, 2012, 08:59:13 am »
GDB version 7.5. It is not a big problem, or not a problem at all but it would be useful to see [24] instead of [1] in the example i think.

Excuse me for re-mentioning a known issue, I didn't have time to check before.

grooveordie:
What version of GDB is this?
I doubt it can be done anything about it, unfortunately.

About the second issue, yes this is a know issue and it is an issue of wxPropertyGrid, we are using for the watches.
When I was implementing the new watches, I've mentioned this issue to the creator of wxPropGrid and he said we will
see what can be done. But I think he is now missing. wxPropertyGrid is now merge inside wx2.9,
but I've not tried to use C::B compiled against wx2.9, so I don't know if this has been fixed there.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 25 August 2012 build (8248) is out.
« Reply #59 on: September 27, 2012, 04:51:41 pm »
GDB version 7.5. It is not a big problem, or not a problem at all but it would be useful to see [24] instead of [1] in the example i think.
This is doable probably, but I don't want to waste time with it as I'm re-writing the debugger plugin to use the more IDE friendly GDB/MI interface.
So I suppose this will be a non-issue there.

Excuse me for re-mentioning a known issue, I didn't have time to check before.
No problem, if you have time/desire you can post it in the bug tracker at berlios.de, so it won't be forgotten as it is not written anywhere.

(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!]