Skip to content

fix: bugs introduced with the #41 rebase #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/idd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ async def set_command_result(self, version) -> None:
await self.set_pframes_result(state, version)
await self.set_pargs_result(state, version)
await self.set_plocals_result(state, version)
if not disable_assembly:
if not self.disable_asm:
await self.set_pasm_result(state, version)
if not disable_registers:
if not self.disable_registers:
await self.set_pregisters_result(state, version)

async def set_common_command_result(self, command_result) -> None:
Expand All @@ -84,9 +84,9 @@ async def set_common_command_result(self, command_result) -> None:
await self.set_pframes_command_result(state)
await self.set_pargs_command_result(state)
await self.set_plocals_command_result(state)
if not disable_assembly:
if not self.disable_asm:
await self.set_pasm_command_result(state)
if not disable_registers:
if not self.disable_registers:
await self.set_pregisters_command_result(state)

#calls = Debugger.get_current_calls()
Expand Down Expand Up @@ -413,8 +413,9 @@ async def on_key(self, event: events.Key) -> None:
self.regressed_command_bar.value = self.regressed_history[self.regressed_history_index]


Debugger = None
def main() -> None:
Debugger = None
global Debugger

parser = argparse.ArgumentParser(description='Diff Debug for simple debugging!')

Expand Down