If the question comments rapidly devolve into
do ... and give results
ok, it showed ... I've updated the question..
ok, now try ... and look for ...
ok, it gave me ...
and they're relatively close together in time, then I would suggest taking it to a chatroom (you can even create your own chats on http://chat.stackexchange.com) and leave a note on the question that you're migrating it there, and then when resolution is reached, bring it back to the question and update with a final Q edit and a final A marked as answered. Leaving a link to that room or that portion of the transcript may help future visitors as well.
However, if the discussion is just long and drawn out over several days, just making sure the Q and A are appropriately edited at the end to show progression and resolution, that should be fine.
Does that answer your question?