MCPcopy Create free account
hub / github.com/KDAB/GammaRay / createProbe

Method createProbe

probe/probecreator.cpp:55–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void ProbeCreator::createProbe()
56{
57 if (!qApp) {
58 deleteLater();
59 return;
60 }
61
62 // make sure we are in the ui thread
63 Q_ASSERT(QThread::currentThread() == qApp->thread());
64
65 if (Probe::isInitialized()) {
66 // already exists, so we are trying to re-attach to an already injected process
67 if (m_flags & ResendServerAddress) {
68 printf("Resending server address...\n");
69 Probe::instance()->resendServerAddress();
70 }
71 deleteLater();
72 return;
73 }
74
75 Probe::createProbe(m_flags & FindExistingObjects);
76 Q_ASSERT(Probe::isInitialized());
77
78 deleteLater();
79}

Callers

nothing calls this directly

Calls 1

resendServerAddressMethod · 0.80

Tested by

no test coverage detected