Re: DDD

Shahbaz Youssefi <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general,gmane.comp.gdb.devel
Message-ID <CALeOzZ_Zk1hfMbkC37qLe7fDHxkie2w33f=RuvW_YU6u8WPXXw@mail.gmail.com>
Do you have optimization enabled when you compile your code?

On Wed, Mar 11, 2015 at 3:24 PM, Russell Shaw <[email protected]>
wrote:

> Hi,
> When i set a breakpoint at "main", it appears half way between the first
> and second line:
>
> int main(int argc, char *argv[])
> {
>         int ret = EXIT_SUCCESS;
> <-- red dot
>         ...
>
> Is there any fix for that?
>
> I tried recompiling, so the source is not out of sync with the binary.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.