MCPcopy Create free account
hub / github.com/SpartanJ/eepp / StackFrame

Method StackFrame

src/tools/ecode/plugins/debugger/dap/protocol.cpp:266–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266StackFrame::StackFrame( const json& body ) :
267 id( body.value( DAP_ID, 0 ) ),
268 name( body.value( DAP_NAME, "" ) ),
269 source( parseOptionalObject<Source>( body, DAP_SOURCE ) ),
270 line( body.value( DAP_LINE, 0 ) ),
271 column( body.value( DAP_COLUMN, 0 ) ),
272 endLine( parseOptionalInt( body, "endLine" ) ),
273 canRestart( parseOptionalBool( body, "canRestart" ) ),
274 instructionPointerReference( parseOptionalString( body, "instructionPointerReference" ) ),
275 moduleId_int( parseOptionalInt( body, DAP_MODULE_ID ) ),
276 moduleId_str( parseOptionalString( body, DAP_MODULE_ID ) ),
277 presentationHint( parseOptionalString( body, DAP_PRESENTATION_HINT ) ) {}
278
279StackTraceInfo::StackTraceInfo( const json& body ) :
280 stackFrames( parseObjectList<StackFrame>(

Callers

nothing calls this directly

Calls 4

parseOptionalIntFunction · 0.85
parseOptionalBoolFunction · 0.85
parseOptionalStringFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected