MCPcopy Create free account
hub / github.com/beefytech/Beef / Fail

Method Fail

IDEHelper/DbgModule.cpp:2352–2372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2350}
2351
2352void DbgModule::Fail(const StringImpl& error)
2353{
2354 if (mFailMsgPtr != NULL)
2355 {
2356 if (mFailMsgPtr->IsEmpty())
2357 *mFailMsgPtr = error;
2358 }
2359
2360 String errorStr = "error ";
2361 if (!mFilePath.IsEmpty())
2362 {
2363 errorStr += "Error in ";
2364 errorStr += mFilePath;
2365 errorStr += ": ";
2366 }
2367 errorStr += error;
2368 errorStr += "\n";
2369
2370 mDebugger->OutputRawMessage(errorStr);
2371 mFailed = true;
2372}
2373
2374void DbgModule::SoftFail(const StringImpl& error)
2375{

Callers 1

FinishHotSwapMethod · 0.45

Calls 2

IsEmptyMethod · 0.45
OutputRawMessageMethod · 0.45

Tested by

no test coverage detected