reberhardt7 / cplayground

GNU General Public License v3.0
115 stars 14 forks source link

Show threads in debugger #25

Open reberhardt7 opened 4 years ago

reberhardt7 commented 4 years ago

Screen Shot 2020-03-24 at 9 09 40 PM

Currently, the debugger only lists processes. We should list threads if a process has multiple threads, and threads should be independently controllable in the inline debugging controls that appear in the editor.

We can get thread info from gdb; there is already some code tracking threads here. We need to pass this data to debugging.getContainerInfo, embed it in the ContainerInfo object, return it to the client, and update the display to show this info.