From e2e9cfe84dd7d91fccd05f2daf9b9b0ca00b1927 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Tue, 13 Aug 2024 07:30:29 +0300 Subject: [PATCH] Add more debug messages --- storage/cache.cpp | 1 + storage/filesystem.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/storage/cache.cpp b/storage/cache.cpp index ec5a7b1..59ca107 100644 --- a/storage/cache.cpp +++ b/storage/cache.cpp @@ -165,6 +165,7 @@ namespace vfs FileNode *Virtual::CacheLookup(const char *Path) { + debug("Cache lookup for \"%s\"", Path); FileNode *rootNode = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0); FileNode *ret = CacheRecursiveSearch(rootNode, Path, false); diff --git a/storage/filesystem.cpp b/storage/filesystem.cpp index 2c2fd24..6e2ee0f 100644 --- a/storage/filesystem.cpp +++ b/storage/filesystem.cpp @@ -115,6 +115,7 @@ namespace vfs FileNode *Virtual::GetByPath(const char *Path, FileNode *Parent) { + debug("GetByPath: %s", Path); if (Parent == nullptr) Parent = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0);