Skip to content

Undefined behavior in Plat_IsInDebugSession #419

Description

@TechGuard

Hello,

While debugging the PlayStation build, we noticed undefined behavior in Plat_IsInDebugSession. It seems that the NDA material has been removed but is missing a replacement in the ps5 project.

https://github.com/ValveSoftware/GameNetworkingSockets/blob/partner/src/tier0/dbg.cpp#L121

bool Plat_IsInDebugSession()
{
...
#elif IsPlaystation()
	// NDA material           << does not return any value
#elif IsNintendoSwitch()
	return false;
#else
	#error "HALP"
#endif
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions