Recent

Author Topic: File Naming and the Debugger  (Read 1132 times)

JimKueneman

  • Full Member
  • ***
  • Posts: 220
File Naming and the Debugger
« on: December 12, 2019, 05:43:31 am »
I just spent a lot of time refactoring a library and decided to use namespaces for filename/unit names.

unit some.thing;

When I compile a program with these units the debugger will not give me blue dots so I can't set breakpoints in it.  If I change the name of the unit/file it works correctly..

unit some_thing;

Is this a known limitation?

2.0.6 on OSX.

Jim

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9867
  • Debugger - SynEdit - and more
    • wiki
Re: File Naming and the Debugger
« Reply #1 on: December 12, 2019, 04:03:19 pm »
I haven't tested it....

Are you using the LLDB based debugger?

There is a chance that he IDE debugger code has an issue with this.
But it is also quite possible that lldb/gdb have issues with this.

*IF* it is the latter, then there may not be a fix.



There is some instructions here how to get a logfile https://forum.lazarus.freepascal.org/index.php/topic,42869.0.html
(similar for gdb https://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session )

I can try to have a look at the log, and see if it has anything obvious.



 

TinyPortal © 2005-2018