Author Topic: Debugger help  (Read 5481 times)

Offline automagp68

  • Single posting newcomer
  • *
  • Posts: 4
Debugger help
« on: February 27, 2012, 08:08:21 pm »
Hi

I am new to codeblocks
and programming in general

I am haveing these problems with the debugger

Im using the gnu compile and coding in C

Even after adding a watch list i can not see my array index and variables stored in the array.

When debugging a function i can never see the local variables in the function arguments either

It just skips right over them and says no symbol table available

My buddy uses codeblocks and same compile with no problem

This picture is an issue with the array

Checker is an array and i dont have a drop down to see my indexes even when i add a watch

http://i72.photobucket.com/albums/i173/automagp68/debugger.png

The is a shot of my debugger settings

http://i72.photobucket.com/albums/i173/automagp68/debuuger1.png

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugger help
« Reply #1 on: February 27, 2012, 11:11:07 pm »
(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 automagp68

  • Single posting newcomer
  • *
  • Posts: 4
Re: Debugger help
« Reply #2 on: February 28, 2012, 04:23:21 am »
Yes i have

Which is how i knew how to add a watch will still doesnt work


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugger help
« Reply #3 on: February 28, 2012, 08:10:47 am »
Have you tried Right click -> Properties -> Watch as array + Count=10?
(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 automagp68

  • Single posting newcomer
  • *
  • Posts: 4
Re: Debugger help
« Reply #4 on: February 28, 2012, 05:30:30 pm »
Yes i have

That also does not work. I am wondering if something did not install correctly?

Also, any idea why i would not be able to see my local function arguments? I think that is most important



Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugger help
« Reply #5 on: February 28, 2012, 05:41:12 pm »
Works in the debugger's branch nightly builds. I've not run trunk versions for ages.
So I advise you to try such nightly build.

About the locals, I don't know, I've not reimplemented them in the nightly build.
(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 automagp68

  • Single posting newcomer
  • *
  • Posts: 4
Re: Debugger help
« Reply #6 on: February 28, 2012, 07:17:35 pm »
Hi

Could you please explain nightly build