mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add debug.breakpoint
This commit is contained in:
parent
5eceed3737
commit
c152cfc03f
4 changed files with 130 additions and 0 deletions
|
|
@ -165,6 +165,11 @@ bool DebuggingServer::performCommand(
|
|||
return true;
|
||||
}
|
||||
|
||||
void DebuggingServer::onHitBreakpoint(dv::value&& stackTrace) {
|
||||
logger.info() << "hit breakpoint:\n"
|
||||
<< json::stringify(stackTrace, true, " ");
|
||||
}
|
||||
|
||||
void DebuggingServer::setClient(u64id_t client) {
|
||||
this->connection =
|
||||
std::make_unique<ClientConnection>(engine.getNetwork(), client);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue