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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -