-
Notifications
You must be signed in to change notification settings - Fork 6
/
.lldbinit
37 lines (29 loc) · 1.91 KB
/
.lldbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# .lldbinit (LLDB aka the LLVM Debugger) configuration file
#
# Causes common types used in my game to be more easily readable in the Xcode debugger
#
# Careful! some summary formats crash xcode
settings set target.x86-disassembly-flavor intel
type summary add --summary-string "${var.m_ptr}" lstring
#type summary add --inline-children --omit-names lstring
type summary add --inline-children --omit-names float2 double2 cpVect int2 trit float3
#type summary add --inline-children --omit-names float2 double2 cpVect int2 float3 double3 float4 double4 watch_ptr_base trit
type summary add --inline-children AABBox
#type summary add --inline-children --omit-names -x "^SerialEnum<.+>(( )?&)?$"
# type summary add --inline-children --omit-names -x "^copy_ptr<.+>(( )?&)?$"
# type summary add --inline-children --omit-names -x "^watch_ptr<.+>(( )?&)?$"
type format add -f hex Features uint64 "unsigned long long"
type summary add --inline-children --omit-names -x "SerialEnum"
type summary add --inline-children --omit-names -x "^std::pair<.+>(( )?&)?$"
#type summary add --summary-string "elements=${var.m_elements} ${var.m_cells}" -x "^spacial_hash<.+>(( )?&)?$"
#type summary add --summary-string "{name=${var.name}} ${var.blocks}" SerialCluster
type summary add --summary-string "{addr=${var%V} name=${var.name} ${var.blocks}}" BlockCluster
type summary add --summary-string "{name=${var.name} ident=${var.ident} features=${var.features%x}}" SerialBlock
type summary add --summary-string "addr=${var%V} ${var.sb}" Block
# type summary add --inline-children BlockPosition
# type summary add --summary-string "id=${var.m_il} size=${var.m_size}" -x "^GLBuffer<.+>(( )?&)?$"
# type summary add --summary-string "il=${var.m_il} ibo=${var.m_ibo}" -x "Mesh<.+>(( )?&)?$"
# type summary add --inline-children -x "^MeshPair<.+>(( )?&)?$"
type summary add --summary-string "pos=${var.pos}" -x "^VertexPos.+"
set set target.max-string-summary-length 10000