This may be a gdb problem or a KDevelop problem, but I'm hoping it's a c++ problem so it's more easily fixed!

If I "execute" my application either in KDevelop or from a terminal, it finishes and terminates without any problems. However, if I step through the code, when it hits one line (declaring an iterator):

typename EdgeIdentifierContainerType::const_iterator it;

I get "cannot acces memory at 0x0". It lets me continue debugging, but every line after that I get the same error.

Does anyone have any guesses at what could be causing this?

Thanks,

Dave

"cannot acces memory at 0x0"

I assume that error means that something is trying to read in an
invalid memory location, one which does not exits as 0x0, which is
NULL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.