Skip to content

Commit 0b1da45

Browse files
authored
Complete the implementation of the Tracer trait. Remove STOP_ITERATION (#29)
I seem to be unable to write Python code that would emit the STOP_ITERATION event. I've removed it for now We added support for all other events in the Tracer trait, and tests for each one. Signed-off-by: Tzanko Matev <[email protected]>
2 parents 2169f96 + 4723a59 commit 0b1da45

File tree

3 files changed

+822
-5
lines changed

3 files changed

+822
-5
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Write tests for the complete Tracer trait
2+
3+
Currently in print_tracer.rs we have only one test for the CALL event. We want tests for all other events. The test must verify that the corresponding event was raised and handled at least once.Write tests for the complete Tracer trait
4+
5+
Currently in print_tracer.rs we have only one test for the CALL event. We want tests for all other events. The test must verify that the corresponding event was raised and handled at least once.
6+
--- FOLLOW UP TASK ---
7+
Write tests for the complete Tracer trait\nCurrently in print_tracer.rs we have only one test for the CALL event. We want tests for all other events. The test must verify that the corresponding event was raised and handled at least once.
8+
--- FOLLOW UP TASK ---
9+
For each handler in CountingTracer also print the line at which the event fired. Refer to the sys.monitoring API and specifically to the CodeObject type for details.
10+
--- FOLLOW UP TASK ---
11+
A test is missing for the STOP_ITERATION event

0 commit comments

Comments
 (0)