MCPcopy Create free account
hub / github.com/TASEmulators/fceux / conditionTextChanged

Method conditionTextChanged

src/drivers/Qt/ConsoleDebugger.cpp:2195–2213  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2193}
2194//----------------------------------------------------------------------------
2195void DebuggerBreakpointEditor::conditionTextChanged(const QString &txt)
2196{
2197 if ( txt.size() > 0 )
2198 {
2199 Condition *c = generateCondition( txt.toStdString().c_str() );
2200
2201 condValid = (c != nullptr);
2202
2203 if (c)
2204 {
2205 delete c; c = nullptr;
2206 }
2207 }
2208 else
2209 {
2210 condValid = true;
2211 }
2212 checkDataValid();
2213}
2214//----------------------------------------------------------------------------
2215void DebuggerBreakpointEditor::loadBreakpoint(void)
2216{

Callers

nothing calls this directly

Calls 2

generateConditionFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected