Skip to content

Commit 3fd8825

Browse files
committed
chore: deprecate @identity
1 parent e3a5420 commit 3fd8825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sourceplusplus/control/ContextReceiver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def apply_breakpoint(live_breakpoint_id, globals, locals):
109109
tag = StringTag(json.dumps({
110110
key: str(value), # todo: don't str everything
111111
"@class": str(type(value)),
112-
"@identity": id(value)
112+
"@id": id(value)
113113
}))
114114
tag.key = "spp.global-variable:" + live_breakpoint.id + ":" + key
115115
span.tag(tag)
@@ -120,7 +120,7 @@ def apply_breakpoint(live_breakpoint_id, globals, locals):
120120
tag = StringTag(json.dumps({
121121
key: str(value), # todo: don't str everything
122122
"@class": str(type(value)),
123-
"@identity": id(value)
123+
"@id": id(value)
124124
}))
125125
tag.key = "spp.local-variable:" + live_breakpoint.id + ":" + key
126126
span.tag(tag)

0 commit comments

Comments
 (0)