Open Simn opened 7 years ago
The continue command continues all threads.
It would certainly be a little less ambiguous to add the word 'all' in there, so that the help read:
"The continue (or c) command continues all threads until the next breakpoint occurs."
You can use 'where all' to list the callstacks of all threads, which is a way also of seeing how many threads there are. There is no command list to list how many threads there are.
The new github works horribly with my browser and I can't edit the previous command. I should have said "There is no command JUST to list how many threads there are."
Ha ha I should have written "I can't edit the previous COMMENT."
Two things:
Is there a way to get a list of all currently running threads? This should probably be a
threads
command.It's a bit confusing to understand what
continue
does in a threaded environment. From thecontinue
documentation:From the
thread
documentation:The question is: Does
continue
continue execution of all threads or just the current thread? If it's the latter, how do we get back to an "execute all threads" state?