You need to follow these steps on every channel you are trying to use the debugger with.
- Open up a file explorer and go to where the game is installed. e.g.
%programdata%\CSE\Camelot Unchained\bin\4\Client
would be Hatchery.
- When running the client from VisualStudio instead of the Patcher, the directory will be
<repo>\cmake\out\build\VCProj\ClientMain\<build target>
- In a separate file explorer, go into the
UI/CoherentDebugging
folder in Avalon (if you are part of ModSquad, ask a UCE employee to help you with this process) - Under the
ResourcesNeeded/
folder, you will find 3 things.CoherentDebugger.zip
,CoherentUIGTDevelopment.dll
, andinspector.zip
- Copy, paste, and extract the CoherentDebugger.zip to a place on your PC (e.g. Desktop).
- Copy, paste, and extract the inspector.zip to where the game is installed (in the same directory as the Client.exe)
- Copy and paste the CoherentUIGTDevelopment.dll to where the game is installed (in the same directory as the Client.exe)
- Launch the client and run the
Debugger.exe
found in the extractedCoherentDebugger
folder.
The debugger is similar to the webkit debugger.
More documentation can be found on how to actually use the debugger here https://coherent-labs.com/Documentation/cpp-gt/dd/d68/debugging.html#Debugger
Run the patcher executable with the following additional arguments: overrideChildExecutableWorkingDirectory="
repo\launcher\dist" uiDebugPort=9000
Open a browser window to http://localhost:9000
to start the debugging session