I submitted a bug report for this, but posting here as well hoping for some answers.
There is a bug in macOS 10.15 (specifically, I am using 10.15.5) in which a privacy access dialog appears when debugging an executable in lldb.
Expected behavior:
There is a bug in macOS 10.15 (specifically, I am using 10.15.5) in which a privacy access dialog appears when debugging an executable in lldb.
Expected behavior:
When debugging an app that lives in the Desktop folder, the process runs as expected without any privacy dialogs appearing. Therefore, we expect the same behavior when debugging regular (non-app) C++ executables; i.e. when debugging the executable, no privacy dialogs should appear
When debugging a plain C++ executable that lives in the Desktop folder, a privacy dialog to appear appears when the process starts, prompting for access to the Desktop folder
This is unexpected and frustrating because it also prevents us from being able to debug executables through ssh (reported in FB7778150)