Skip to content

Commit e381a74

Browse files
authored
Fix function and type name ordering in debugger
1 parent bc8f764 commit e381a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog-live-debugger-ffi/src/send_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ fn ddog_snapshot_push_stack_frame_internal<'a, 'b: 'a, 'c: 'a>(
351351
snapshot.stack.push(SnapshotStackFrame {
352352
file_name: file_name.to_utf8_lossy(),
353353
function: if !type_name.is_empty() {
354-
Cow::Owned(format!("{}::{}", function_name, type_name.to_utf8_lossy()))
354+
Cow::Owned(format!("{}::{}", type_name.to_utf8_lossy(), function_name))
355355
} else {
356356
function_name
357357
},

0 commit comments

Comments
 (0)