[lldb-dev] Xcode and Pascal (FPC)

via lldb-dev lldb-dev at lists.llvm.org
Thu Mar 9 04:33:13 PST 2017


For many years I’m using Xcode to compile and debug source code written in Pascal (Free Pascal Compiler).
Previously using the gdb-debugger.

With the lldb debugger the "Debug Bar-Proces Controls" and breakpoints still works fine.
Variables values are displayed in the "View variables”.
Thanks to the LLDB Debugger development team!

But the Pascal language is not case-sensitive.
All variable names are displayed in upper case, thus for printing values in the “View console output” the variable names has to be typed in upper case.
Consequently copy and past of the variable names from the source editor can’t be used.
Unfortunately also inspecting variables directly in the source editor will not work, unless they are typed in upper case.

Using the lldb-debugger would be much more practical if Pascal variable names could be copy/past directly from source editor into the console and/or Pascal variables could be inspected directly into the source editor.

Any workaround work around or recommendations how to solve this issue?

I really appreciate any help someone can provide.


More information about the lldb-dev mailing list