MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / mayContainStackFrame

Function mayContainStackFrame

src/debug/stack_trace.ts:7–9  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

5const colPattern = new RegExp(`(?:col|pos) (\\d+)`);
6
7export function mayContainStackFrame(message: string) {
8 return containsStackFramePattern.test(message);
9}
10
11export function parseStackFrame(message: string): MessageWithUriData | undefined {
12 // Messages over 1000 characters are unlikely to be stack frames, so short-cut

Callers 1

logToUserFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected