Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: automagp68 on February 27, 2012, 08:08:21 pm

Title: Debugger help
Post by: automagp68 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
Title: Re: Debugger help
Post by: oBFusCATed on February 27, 2012, 11:11:07 pm
Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks ?
Title: Re: Debugger help
Post by: automagp68 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

Title: Re: Debugger help
Post by: oBFusCATed on February 28, 2012, 08:10:47 am
Have you tried Right click -> Properties -> Watch as array + Count=10?
Title: Re: Debugger help
Post by: automagp68 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


Title: Re: Debugger help
Post by: oBFusCATed 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.
Title: Re: Debugger help
Post by: automagp68 on February 28, 2012, 07:17:35 pm
Hi

Could you please explain nightly build