corewar.io icon indicating copy to clipboard operation
corewar.io copied to clipboard

Allow warrior's tasks (processes) to be inspected

Open gareththegeek opened this issue 7 years ago • 4 comments

I am having a bit of trouble debugging multi process warriors because the UI does not provide any information about the number of tasks the warrior has or where those tasks are going to execute next.

gareththegeek avatar Dec 23 '17 10:12 gareththegeek

Still need a way to see which task will execute next...

gareththegeek avatar Jan 08 '18 12:01 gareththegeek

As in, the current execution? or is this in addition to that?

dougajmcdonald avatar Jan 09 '18 12:01 dougajmcdonald

As in, for each warrior's current task, highlight the address pointed to by its instructionPointer. i.e. the next instruction that the warrior will execute. I think ideally it'd be great to see all the instructionPointer for all tasks with the warrior's current task emphasised and the current warrior's current task emphasised even more. Maybe this doesn't make sense, perhaps I will draw a picture :D

gareththegeek avatar Jan 09 '18 16:01 gareththegeek

Draw a picture or write 1000 words, your choice! :P does corewar/corewar-ui#136 help?

dougajmcdonald avatar Jan 10 '18 19:01 dougajmcdonald