Thank for answer Martin,
  Try stabs versus dwarf. This may help.
No, not helped me :( if I need much imported, I add local variable or use showmessage. this come bug from out fpc or lazarus. maybe fix in future, its okey.

I have a new bug, While debugging, some error popup (still not sure wich and how so I can not report detail) Blue dots loseing application running and I can't not debug. When application end via "Application.Terminate;" code this error popups

The GDB command:
"-exec-run"
returned the error:
",msg="During startup program exited normally.""

Close and reopen lazarus not changed still goes on. I have to reset system.


10-12-2013 16:35 tarihinde, Martin Frb yazdı:

    Which OS? 32 or 64 bit?

On 10/12/2013 12:44, FreeMan wrote:
In debug, I move mouse for look for value of classproperty (any) I get this error.
Tmem_Stream = Tmemory_Stream;
Tmem_Stream.Position error popups. not only this class or this property. Excecially variable defined diffrent unit.



About properties: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

However the below in NOT related to this.

This is a bug in GDB. Though there may (on may not) be an additional bug in either fpc, or the linker, leading to invalid debug info. Try stabs versus dwarf. This may help. Though stabs have some extra limits. (see link above)


GDB 5.9/ 6.0 and 6.1 (not yet tested 6.2 but likely too) are particularly unstable according to my tests. So you should use an earlier one.

Note: trying to show resourcestrings is one known condition that will crash a lot of gdb versions.


While executing the command:

"TGDBMIDebuggerInstruction: "ptype Tmem_Stream.Position", [ifRequiresThread, ifRequiresStackFrame] Thr=1 Frm=0"

gdb reported:

"&"/build/buildd/gdb-7.6.1/gdb/parse.c:588: internal-error: mark_struct_expression: Assertion `parse_completion && expout_tag_completion_type == TYPE_CODE_UNDEF' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.""


Thank you



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to