If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Native Debugging

From SWRC Wiki
Jump to navigation Jump to search

One way for debugging a game crash on native level is by using Debug_executable_of_SWRC, which is a modified executable which shows the stacktrace of the crash.

An alternative for debugging is running the executable in OllyDBG which allows you to see and modify the game runtime on Assembly level.

Example:

Log: General protection fault!

History: UObject::InitProperties <- UObject::InitClassDefaultObject <- UClass::Register <- (TcpipConnection) <- UObject::ProcessRegistrants <- UPackage::BindPackage <- UPackage::UPackage <- UObject::CreatePackage <- UObject::ResolveName <- UObject::StaticLoadObject <- (Core.Class None.IpDrv.TcpNetDriver NULL) <- UObject::StaticLoadClass <- ULevel::Listen <- Listen <- UGameEngine::LoadMap <- LocalMapURL <- UGameEngine::Browse <- ClientTravel <- UGameEngine::Tick <- MainLoop