Error Reading Characters of String During Debugging: Unable to Read Memory in Visual Studio
I’m learning C++ on visual studio 2022 and encountering an error while using breakpoint and debugging.
When I step into a function that takes a const char* parameter, I receive the following error message: “Error reading characters of string: Unable to read memory.
I divided the project in 3 different files Log.h , Log.cpp & main.cpp