Reload .lldbinit without restarting the application?

Is there a way to reload the .lldbinit file without rebuilding the application? Similar to what can be done with gdb as follows:

source ~/.gdbinit 
+4
source share
1 answer

Use command source .

 (lldb) command source ~/.lldbinit 

If you download a Python file,

 (lldb) command script import ~/lldb/bbt.py 

although note that you cannot re-import a function that you already imported in the lldb debugging session; when updating a python script you need to exit and restart the debugger to try new versions.

+7
source

Source: https://habr.com/ru/post/1482451/


All Articles