Recent

Author Topic: Debugger not working with Apple Silicon code  (Read 3244 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10005
  • Debugger - SynEdit - and more
    • wiki
Re: Debugger not working with Apple Silicon code
« Reply #15 on: May 05, 2024, 10:09:21 am »
So yes, no error.  So no info if the patch worked.



According to your earlier post
I found the lldb source code for this error message, but I am none the wiser:
Code: [Select]
  if (IsHost()) {

This happens on some condition, only if it hands over to the lldb-server.  Could that depend on the debug-target project being compiled for Intel or M2?

Because if it is not native (or not the same as lldb?) then (internally to lldb) it may need to be run different.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10005
  • Debugger - SynEdit - and more
    • wiki
Re: Debugger not working with Apple Silicon code
« Reply #16 on: May 05, 2024, 10:16:30 am »
Abbreviated debug log file saved to /tmp showing what I thought were the apposite lines:

I expected lines like
Code: Text  [Select][+][-]
  1. >> >> TDebugProcess.SendCmdLn "process launch -n"

I am not sure why those are missing... (the rest could be ignored)
I need to look at the 3.2 files to check what goes on with the logging...


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • Former Delphi 1-7, 10.2 user
Re: Debugger not working with Apple Silicon code
« Reply #17 on: May 05, 2024, 10:21:53 am »
Let me know if you need more experimenting on my end. Best send mail as I'm not on the Forum regularly.

 

TinyPortal © 2005-2018