Thank you for your answer :)
The project is on a regular folder on the only partition of my physical drive so I don't think this is related to the subst issue.
The problem is that I can set breakpoints in my source files, but none of them ever stops the execution. It's like the debugger does not understand how they are related to the current executable.
I tried with a simpler project and it seems that symbols are not even loaded, but the log does not say anything about this so I can't really be sure.
I work on windows, generate my project files with
premake5, and then compile the project from an msbuild command line.
Here is my premake file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | workspace "RDBG_Test"
configurations { "Debug" }
platforms { "Win64" }
language "C++"
cppdialect "C++14"
targetdir("./")
objdir("./obj/")
project "RDBG_Test"
kind "ConsoleApp"
optimize "Debug"
symbols "On"
files {
"./main.cpp",
}
|
The code i'm compiling
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | #include <stdio.h>
void printSomething()
{
printf("Hello World\n");
}
int main(int _argc, char** _argv)
{
int a = 0;
const char* str = "Hello World!";
printSomething();
printSomething();
printSomething();
printSomething();
printSomething();
return 0;
}
|
and the command I use to compile it
| msbuild RDBG_Test.sln -t:clean -p:Configuration=Debug;Platform=Win64
|
and here what RemedyBG outputs looks like when I step through the assembly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 | [20/03/2021 19:43:24] Debugging new process...[OK] Process ID: 2668009952
[20/03/2021 19:43:25] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp. File not found.
[20/03/2021 19:43:25] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp. File not found.
[20/03/2021 19:43:25] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:26] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:26] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:27] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:27] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:28] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:28] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:28] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:28] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:29] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:29] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:29] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\gs\gs_support.c. File not found.
[20/03/2021 19:43:29] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:30] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:32] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:33] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
[20/03/2021 19:43:34] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:34] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:35] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:35] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:35] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:37] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\misc\amd64\cpu_disp.c. File not found.
[20/03/2021 19:43:48] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\misc\amd64\cpu_disp.c. File not found.
[20/03/2021 19:43:48] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\utility\utility.cpp. File not found.
[20/03/2021 19:43:49] Unable to open D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl. File not found.
|
There must be something I am missing, but there is no sign of anything going wrong regarding the symbols, and unfortunately RemedyBG does not seem very talkative about that.