> On Jan 5, 2016, at 10:17 AM, Greg Clayton via lldb-dev 
> <lldb-dev@lists.llvm.org> wrote:
> 
> 
>> So how about:
>> 
>> (lldb) run
>> error: developer mode not enabled
> 
> We should be able to do this. The main issue is detecting that the user is in 
> a remote scenario where they don't have access to the UI. A dialog box will 
> be popped up if the user is on the system, but when remotely connected we 
> would need to detect this and return a correct error. This is a little harder 
> as well because "debugserver", our GDB remote protocol debug stub, is what is 
> requesting the debugging privelege. This is a program that is spawned by LLDB 
> as a child process. But is should be able to be done somehow.


I have a low priority Todo to implement this - when I looked into it, it was 
just a few CF calls and I could retrieve whether developer mode was enabled in 
debugserver and report that to the user.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to