Download

How to determine client or server in VS debugger

how to determine if a breakpoint was triggered on the server or on the client? In VS debugger without modifying code?

AActor has its network role saved as member (Role). If your breakpoint is inside an actor class, you can check this variable directly in the debugger watch window. If the breakpoint is inside an actor component, you have to type something like PawnOwner->Role.