Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
BacktraceJob Class Reference

#include <qv4debugjob.h>

+ Inheritance diagram for BacktraceJob:
+ Collaboration diagram for BacktraceJob:

Public Member Functions

 BacktraceJob (QV4DataCollector *collector, int fromFrame, int toFrame)
 
void run () override
 
- Public Member Functions inherited from CollectJob
 CollectJob (QV4DataCollector *collector)
 
const QJsonObjectreturnValue () const
 
- Public Member Functions inherited from QV4DebugJob
virtual ~QV4DebugJob ()
 
virtual void run ()=0
 

Additional Inherited Members

- Protected Attributes inherited from CollectJob
QV4DataCollectorcollector
 
QJsonObject result
 

Detailed Description

Definition at line 51 of file qv4debugjob.h.

Constructor & Destructor Documentation

◆ BacktraceJob()

BacktraceJob::BacktraceJob ( QV4DataCollector collector,
int  fromFrame,
int  toFrame 
)

Definition at line 100 of file qv4debugjob.cpp.

Member Function Documentation

◆ run()

void BacktraceJob::run ( )
overridevirtual

Implements QV4DebugJob.

Definition at line 105 of file qv4debugjob.cpp.

References QV4DataCollector::buildFrame(), CollectJob::collector, QV4DataCollector::engine(), i, QJsonArray::isEmpty(), QJsonArray::push_back(), QStringLiteral, QJsonArray::size(), QList< T >::size(), and QV4::ExecutionEngine::stackTrace().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: