| 264 | } |
| 265 | |
| 266 | StackFrame::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 | |
| 279 | StackTraceInfo::StackTraceInfo( const json& body ) : |
| 280 | stackFrames( parseObjectList<StackFrame>( |
nothing calls this directly
no test coverage detected