You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/06/25 06:42:37 UTC

[GitHub] [incubator-teaclave] yc-huang opened a new issue #371: Is there any best practice to debug builtin function

yc-huang opened a new issue #371:
URL: https://github.com/apache/incubator-teaclave/issues/371


   I'm trying to add some new builtin functions, but found it's very time costy to debug; I'm wondering if there's some suggestions on:
   1. After mading some changes to the builtin function/executor code, what's the fatest way to re-compile/deploy those changes?
   2. What's the best way to log out some debug informations in my builtin functions? 
   
   Thanks,
   YC


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #371: Is there any best practice to debug builtin function

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #371:
URL: https://github.com/apache/incubator-teaclave/issues/371#issuecomment-649280581


   1. I suggest to compile (`make teaclave_unit_tests`) and run (`make run-unit-tests`) unit tests. You can see other builtin function implementations.
   2. You can use `log::debug!()`. Then run services or tests with `RUST_LOG=teaclave=debug` env set.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun closed issue #371: Is there any best practice to debug builtin function

Posted by GitBox <gi...@apache.org>.
mssun closed issue #371:
URL: https://github.com/apache/incubator-teaclave/issues/371


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #371: Is there any best practice to debug builtin function

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #371:
URL: https://github.com/apache/incubator-teaclave/issues/371#issuecomment-649281747


   You can find more about our build system in this doc: https://teaclave.apache.org/docs/build-system/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #371: Is there any best practice to debug builtin function

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #371:
URL: https://github.com/apache/incubator-teaclave/issues/371#issuecomment-652115187


   I'm closing this issue. Feel free to reopen or create a new one if you have further questions. Thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org