luau/tools/lldb_formatters.lldb

26 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-09-30 06:11:54 +08:00
type synthetic add -x "^Luau::detail::DenseHashTable<.*>$" -l lldb_formatters.DenseHashTableSyntheticChildrenProvider
2023-10-21 04:36:26 +08:00
type synthetic add -x "^Luau::DenseHashMap<.*>$" -l lldb_formatters.DenseHashMapSyntheticChildrenProvider
type synthetic add -x "^Luau::DenseHashSet<.*>$" -l lldb_formatters.DenseHashSetSyntheticChildrenProvider
type summary add -x "^Luau::DenseHashMap<.*>$" --summary-string "count = ${var.impl.count}"
type summary add -x "^Luau::DenseHashSet<.*>$" --summary-string "count = ${var.impl.count}"
2022-09-30 06:11:54 +08:00
type summary add "Luau::Symbol" -F lldb_formatters.luau_symbol_summary
2022-03-18 08:06:25 +08:00
type synthetic add -x "^Luau::Variant<.+>$" -l lldb_formatters.LuauVariantSyntheticChildrenProvider
2022-09-30 06:11:54 +08:00
type summary add -x "^Luau::Variant<.+>$" -F lldb_formatters.luau_variant_summary
type synthetic add -x "^Luau::AstArray<.+>$" -l lldb_formatters.AstArraySyntheticChildrenProvider
2022-10-07 07:55:58 +08:00
2023-10-21 04:36:26 +08:00
type summary add -x "^Luau::NotNull<.+>$" --summary-string "${*var.ptr}"
2022-10-07 07:55:58 +08:00
type summary add --summary-string "${var.line}:${var.column}" Luau::Position
type summary add --summary-string "${var.begin}-${var.end}" Luau::Location
2023-10-21 04:36:26 +08:00
type summary add --summary-string "${var.ty} (${var%S})" Luau::TypeId Luau::TypePackId
type summary add Luau::TypePath::Property -F lldb_formatters.luau_typepath_property_summary
type summary add --summary-string "[${var.index}]" Luau::TypePath::Index
type summary add -x "^Luau::TryPair<.+>$" --summary-string "(${var.first%T}, ${var.second%T})"