Skip to content

Commit

Permalink
Fix LLDB crystal_formatters.py for Python 3 (crystal-lang#14665)
Browse files Browse the repository at this point in the history
  • Loading branch information
zw963 authored Jun 7, 2024
1 parent 7c71635 commit 38be359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/lldb/crystal_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ def CrystalString_SummaryProvider(value, dict):


def __lldb_init_module(debugger, dict):
debugger.HandleCommand('type synthetic add -l crystal_formatters.CrystalArraySyntheticProvider -x "^Array\(.+\)(\s*\**)?" -w Crystal')
debugger.HandleCommand('type summary add -F crystal_formatters.CrystalString_SummaryProvider -x "^(String|\(String \| Nil\))(\s*\**)?$" -w Crystal')
debugger.HandleCommand('type category enable Crystal')
debugger.HandleCommand(r'type synthetic add -l crystal_formatters.CrystalArraySyntheticProvider -x "^Array\(.+\)(\s*\**)?" -w Crystal')
debugger.HandleCommand(r'type summary add -F crystal_formatters.CrystalString_SummaryProvider -x "^(String|\(String \| Nil\))(\s*\**)?$" -w Crystal')
debugger.HandleCommand(r'type category enable Crystal')

0 comments on commit 38be359

Please sign in to comment.