@@ -930,6 +930,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type, comptime OutWriter: type) type {
930930 ) errors.Fatal ! Value {
931931 const zone = tracy .trace (@src ());
932932 defer zone .end ();
933+ tracy .messageCopy (code_span .slice (tpl .src ));
933934
934935 tpl .setContext (script_ctx );
935936
@@ -983,6 +984,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type, comptime OutWriter: type) type {
983984 ) errors.Fatal ! Value {
984985 const zone = tracy .trace (@src ());
985986 defer zone .end ();
987+ tracy .messageCopy (code_span .slice (tpl .src ));
986988
987989 tpl .setContext (script_ctx );
988990
@@ -1034,6 +1036,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type, comptime OutWriter: type) type {
10341036 ) errors.Fatal ! ScriptyVM.Result {
10351037 const zone = tracy .trace (@src ());
10361038 defer zone .end ();
1039+ tracy .messageCopy (code_span .slice (tpl .src ));
10371040
10381041 tpl .setContext (script_ctx );
10391042 const result = script_vm .run (
@@ -1082,6 +1085,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type, comptime OutWriter: type) type {
10821085 ) errors.Fatal ! Value {
10831086 const zone = tracy .trace (@src ());
10841087 defer zone .end ();
1088+ tracy .messageCopy (code_span .slice (tpl .src ));
10851089
10861090 tpl .setContext (script_ctx );
10871091 const result = script_vm .run (
@@ -1134,6 +1138,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type, comptime OutWriter: type) type {
11341138 ) errors.Fatal ! * Value.Iterator {
11351139 const zone = tracy .trace (@src ());
11361140 defer zone .end ();
1141+ tracy .messageCopy (code_span .slice (tpl .src ));
11371142
11381143 tpl .setContext (script_ctx );
11391144
0 commit comments