My code:
// includes and stuff.
int main() {
const double pi = 3.14;
const double sqrtpi = sqrt(pi);
cout << sqrtpi << " " << max(pi, sqrtpi);
}
sometimes it would turn into this: (debug logs)
Breakpoint 1, main () at /home/flameyosflow/HelloWorld/main.cpp:8
8 int main() {
Loaded '/lib/x86_64-linux-gnu/libstdc++.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libc.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libm.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgcc_s.so.1'. Symbols loaded.
[Inferior 1 (process 6099) exited normally]
The program '/home/flameyosflow/HelloWorld/main' has exited with code 0 (0x00000000).
and when I delete the binary and stuff like that, everything executes normally with additional debug:
1.772 3.14[1] + Done "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-vz2s5g0f.giu" 1>"/tmp/Microsoft-MIEngine-Out-rfxnlww4.kyq"
Expected output: 1.772 3.14 only.
How can I remove all this debug info? I'm using G++ and VSCode (too poor for C++ ides by jetbrains)
And yes I'm not directly running "Debug", just "Run"