forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lldbinit
17 lines (16 loc) · 785 Bytes
/
.lldbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# automatically load the pytorch_lldb extension.
#
# lldb automatically tries to load this file whenever it is executed from the
# root of the pytorch repo, but by default it is not allowed to do so due to
# security reasons. If you want to use pytorch_lldb, please add the following
# line to your ~/.lldbinit (i.e., the .lldbinit file which is in your home
# directory, NOT this file):
# settings set target.load-cwd-lldbinit true
# setting set escape-non-printables false
#
# Alternatively, you can manually load the pytorch_lldb commands into your
# existing lldb session by doing the following:
# (lldb) command script import tools/lldb/pytorch_lldb.py
command script import tools/lldb/pytorch_lldb.py
setting set escape-non-printables false
type category enable torch