I am trying to debug of an OSX desktop application (Mac os catalina 10.15.3) via LLDB.
lldb path/to/Electron.app
>>> Current executable set to 'path/to/Electron.app' (x86_64).
After that I can successfully add breakpoints to the debugger, but when I try to run application with run
or process launch
it always gives me:
error: process exited with status -1 (Error 1)
Also another issue with attaching to the pid. It gives me an error and can not attach to the process.
lldb -p 41324
>>> error: attach failed: Error 1
Why I can't disassemble the program inside debugger ?