MCPcopy Create free account
hub / github.com/KDE/kdevelop / TestDebugSession

Class TestDebugSession

plugins/lldb/unittests/test_lldbformatters.cpp:61–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59using KDevMI::Testing::waitForAWhile;
60
61class TestDebugSession : public DebugSession
62{
63 Q_OBJECT
64public:
65 TestDebugSession() : DebugSession()
66 {
67 setSourceInitFile(false);
68 // explicit set formatter path to force use in-tree formatters, not the one installed in system.
69 auto formatter = findFile(LLDB_SRC_DIR, "formatters/all.py");
70 setFormatterPath(formatter);
71
72 KDevelop::ICore::self()->debugController()->addSession(this);
73
74 variableController()->setAutoUpdate(IVariableController::UpdateLocals);
75 }
76};
77
78VariableCollection *LldbFormattersTest::variableCollection()
79{

Callers

nothing calls this directly

Calls 5

findFileFunction · 0.85
debugControllerMethod · 0.80
setAutoUpdateMethod · 0.80
DebugSessionClass · 0.70
addSessionMethod · 0.45

Tested by

no test coverage detected