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

Method TestDebugSession

plugins/lldb/unittests/test_lldb.cpp:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 using TestFrameStackModel = KDevMI::Testing::TestFrameStackModel<DebugSession, LldbFrameStackModel>;
45
46 TestDebugSession() : DebugSession()
47 {
48 // explicit set formatter path to force use in-tree formatters, not the one installed in system.
49 auto formatter = findFile(LLDB_SRC_DIR, "formatters/all.py");
50 setFormatterPath(formatter);
51
52 setSourceInitFile(false);
53 m_frameStackModel = new TestFrameStackModel(this);
54
55 KDevelop::ICore::self()->debugController()->addSession(this);
56 }
57
58 TestFrameStackModel* frameStackModel() const override
59 {

Callers

nothing calls this directly

Calls 3

findFileFunction · 0.85
debugControllerMethod · 0.80
addSessionMethod · 0.45

Tested by

no test coverage detected