Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettify output #5

Open
PiotrSikora opened this issue Aug 12, 2020 · 3 comments
Open

Prettify output #5

PiotrSikora opened this issue Aug 12, 2020 · 3 comments

Comments

@PiotrSikora
Copy link
Member

The current output is a bit rough and while fine for debugging, it's not very readable output that you want to see when running tests.

Consider using something like this:

  • [vm->host] function(params...) for host call entry,
  • [vm<-host] function return: X for host call return,
  • [host->vm] function(params...) for callback entry,
  • [host<-vm] function return: X for callback return.

with either OK, FAILED, UNEXPECTED being printed out on the right hand side, depending on the expectations.

@PiotrSikora
Copy link
Member Author

cc @agiachris

@agiachris
Copy link
Contributor

should params include the names and also the assigned values?
e.g. [host->vm] proxy_on_vm_start(root_context_id=1, parent_context_id=0)
or something like: [host->vm] proxy_on_vm_start(root_context_id, parent_context_id)

@PiotrSikora
Copy link
Member Author

Please include values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants