Skip to content
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

Fix: timeout error if script files not specified #22

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

Vipul-Cariappa
Copy link
Contributor

Fixes:

❯ idd -ba ./tmp/fib_loop -ra ./tmp/fib_tail_call
Traceback (most recent call last):
  File "/workspaces/cpp-py/opt/idd/idd.py", line 237, in <module>
    Debugger = GDBMiDebugger(ba, bs, ra, rs)
  File "/workspaces/cpp-py/opt/idd/debuggers/gdb/gdb_mi_driver.py", line 25, in __init__
    self.run_single_raw_command('file ' + base_args, 'base')
  File "/workspaces/cpp-py/opt/idd/debuggers/gdb/gdb_mi_driver.py", line 119, in run_single_raw_command
    raw_result = self.gdb_instances[version].write("{command}\n".format(command = command))
  File "/workspaces/cpp-py/opt/idd/venv/lib/python3.10/site-packages/pygdbmi/gdbcontroller.py", line 125, in write
    return self.io_manager.write(
  File "/workspaces/cpp-py/opt/idd/venv/lib/python3.10/site-packages/pygdbmi/IoManager.py", line 284, in write
    return self.get_gdb_response(
  File "/workspaces/cpp-py/opt/idd/venv/lib/python3.10/site-packages/pygdbmi/IoManager.py", line 104, in get_gdb_response
    raise GdbTimeoutError(
pygdbmi.constants.GdbTimeoutError: Did not get response from gdb after 1 seconds

@vgvassilev vgvassilev merged commit 5960986 into compiler-research:main Sep 14, 2024
@Vipul-Cariappa Vipul-Cariappa deleted the fix branch September 14, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants