on master help sign in
Merge pull request #796 from urbit/mike/ra-debugging-tools

Add runtime apprenticeship for debugging tools

commita7e639ddd0e47e09d1b87d9fddc167a17763f7ee authormikeosborne <mike@urbit.org> dateThu 19 Aug 2021, 17:02 (5 years ago) parent12c6035f1196c5
1 file changed+25
content/grants/ra-debugging-tools.md+25
content/grants/ra-debugging-tools.mdnew file+25
@@ -0,0 +1,25 @@
1++++
2+title = "Runtime Apprenticeship: Debugging Tools"
3+date = 2021-08-19
4+[taxonomies]
5+grant_type = ["Apprenticeship"]
6+grant_category = ["App Dev", "Arvo"]
7+[extra]
8+image = ""
9+description = "Debugging Tools"
10+reward = 2
11+mentor = "~master-morzod"
12+assignee = "Brad Bettis, Dane Bettis"
13+completed = false
14+work_request_link = ""
15++++
16+
17+Develop and integrate three hint handlers for printing information about hoon programs:
18+
19+- measure and print the elapsed time for a computation
20+- print the current stacktrace (without interrupting the computation)
21+- print the bytecode of a computation
22+
23+The first two deliverables are tightly scoped, while the third involves a fair amount of flexibility. The format of the bytecode output is to be determined (serialized and/or summarized?), as is the granularity of the output, which could be simply the current "program" (roughly, call target) or the specified computation (as a new "program").
24+
25+Adding hoon syntax for the new hints is out of scope, this milestone only includes the runtime implementation. Hint handlers will be implemented using the dynamic hint protocol, which is still new and may require some refinement.