diff --git a/React/Base/RCTJSStackFrame.m b/React/Base/RCTJSStackFrame.m index e102ed059..a199f72e4 100644 --- a/React/Base/RCTJSStackFrame.m +++ b/React/Base/RCTJSStackFrame.m @@ -8,6 +8,7 @@ */ #import "RCTJSStackFrame.h" + #import "RCTLog.h" #import "RCTUtils.h" @@ -98,4 +99,14 @@ static NSRegularExpression *RCTJSStackFrameRegex() return stack; } +- (NSString *)description { + return [NSString stringWithFormat:@"<%@: %p method name: %@; file name: %@; line: %ld; column: %ld>", + self.class, + self, + self.methodName, + self.file, + (long)self.lineNumber, + (long)self.column]; +} + @end