mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Add debug logging to EditBlockCoder
This commit is contained in:
parent
574efcd35d
commit
f198c4a691
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,8 @@ class EditBlockCoder(Coder):
|
|||
# might raise ValueError for malformed ORIG/UPD blocks
|
||||
edits = list(find_original_update_blocks(content, self.fence))
|
||||
|
||||
dump(edits)
|
||||
|
||||
return edits
|
||||
|
||||
def apply_edits(self, edits):
|
||||
|
@ -417,6 +419,7 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE):
|
|||
try:
|
||||
while pieces:
|
||||
cur = pieces.pop()
|
||||
dump(repr(cur))
|
||||
|
||||
# Check for various shell code blocks
|
||||
shell_starts = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue