Re: DDD
Shahbaz Youssefi <[email protected]> Thu, 12 Mar 2015 10:02:29 +0100
| 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. >