c++ - lldb alias for executable -


  'myprogram' was used with GDB debugger to work on behalf of GDB microblogging, but now with LLDB, I have to provide the same kind of address as executable. / I / Program / myprogram ' 

Therefore

  lldb / path / to / my / program / myprogram  

I tried to define an alias on the LLDB:

  order surname myprogram / path / to / my / program / myprogram  

but it says Are that

  error: 'alias' . "Does not start with a valid command, no alias created  

any solution?

Use targets in Lldb (aka file < / Code>) Command

code / ~ / .lldbinit
file):

 % xcrun lldb (lldb) command alias cls target Create / bin / ls (lldb) cls The current executable set '/ bin / ls' (x86_64) (lldb) r process 5099 was launched: '/ bin / ls' (x86_64) README.html README.md ...  

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -