On 14.02.2014 03:11, Martin Frb wrote:
Strange though, because without blue dots, normally breakpoints to not
work, but yours did (on the wrong line, but it did break).

The only other thing I can think of is, if you have symlinks to your
files, and did open them in the IDE via different links/original. And/or
fpc used a different symlink than the IDE.

In that cases it can happen that the IDE believes you have 2 independent
files, while really you got just one. However breakpoints will work,
because the error gets corrected when the IDE gives the wrong path to
gdb, and retries with filename (no path) only. then gdb will set the
breakpoint.

It can also be that the debug information for generics is (still) a bit messed up (the newly generated code in the unit with the specialization needs to point to the source where the generic is declared).

@Xiangrong Fang: do you use 2.6.2 or 2.7.1?

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to