Re: [fpc-pascal] lldb problems with Xcode 8.2.1
> This is fixed in the latest Xcode 8.3 beta. > You’ll still need to use Jonas’ suggestion of upgrading to FPC 3.0.2 and use > the -godwarfcpp option to get lldb/Xcode to do the right thing once a > breakpoint is triggered. I have upgraded to FPC 3.0.2 and added in the Xcode 8.3 beta. I am able to see local variables when pausing the program. I am still unable to get breakpoints working. I still end up with this error if I try and manually set them: Breakpoint 2: no locations (pending). WARNING: Unable to resolve breakpoint to any actual locations. Adding or removing breakpoints in Xcode makes no difference either. Is there something else I should be looking at? Here are my flags for the compiler: -Mmacpas -godwarfcpp -CRiot -ghlttt -gl -O- Thanks, Jeremy signature.asc Description: Message signed with OpenPGP ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] lldb problems with Xcode 8.2.1
> I can no longer get breakpoints to function, they get skipped over. This is fixed in the latest Xcode 8.3 beta. You’ll still need to use Jonas’ suggestion of upgrading to FPC 3.0.2 and use the -godwarfcpp option to get lldb/Xcode to do the right thing once a breakpoint is triggered. –Matt ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] lldb problems with Xcode 8.2.1
On 24/02/17 08:40, Jonas Maebe wrote: On 23 Feb 2017, at 19:10, Jeremy Thompsonwrote: I am experiencing some LLDB problems in macOS Sierra 10.12.3 with Xcode 8.2.1. Its running the LLVM compiler with FPC 2.6.4. I can no longer get breakpoints to function, they get skipped over. Short answer: update to FPC 3.0.2 and use its -godwarfcpp option. The long answer will have to wait till tonight. The long answer is that since some people have started working on (very preliminary) Pascal support in lldb, at some point they disabled pretty much all C/C++ functionality for non-C/C++ languages in lldb. With as a result that almost nothing works anymore if the debug information specifies that the source language is Pascal, and simply changing it to claim that the program was compiled from C or C++ (which is more or less what -godwarfcpp does) restores the debugger functionality. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] lldb problems with Xcode 8.2.1
> On 23 Feb 2017, at 19:10, Jeremy Thompsonwrote: > > I am experiencing some LLDB problems in macOS Sierra 10.12.3 with Xcode > 8.2.1. Its running the LLVM compiler with FPC 2.6.4. I can no longer get > breakpoints to function, they get skipped over. Short answer: update to FPC 3.0.2 and use its -godwarfcpp option. The long answer will have to wait till tonight. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal