cs01 / cs01/gdbgui

gdbgui runtime error when resizing the bottom panes

Open
#364 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

I was trying to resize the gdb window up and tried to left when i saw this error. In app.py i changed it to copy().items since the iterator is changed at runtime. It didn't crash after that.
Btw can we change the size of gdb command window and increase width ?
`
for debug_session, client_ids in manager.debug_session_to_client_ids.copy().items():
`

```
Traceback (most recent call last):

File "src/gevent/greenlet.py", line 854, in gevent._greenlet.Greenlet.run
File "/home/navin/.local/lib/python3.8/site-packages/gdbgui/server/app.py", line 231, in read_and_forward_gdb_and_pty_output
for debug_session, client_ids in manager.debug_session_to_client_ids.items():
RuntimeError: dictionary changed size during iteration
2020-11-14T12:19:39Z failed with RuntimeError
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.