-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot debug MinGW anymore #1067
Comments
I have manually installed version CMake Tools 1.2.3 and I can Debug again |
Happens to me too with Windows, CMake 3.16.2 and Visual Studio 19. Rolling back to 1.2.3 also works for me too. |
I think there is an problem with the CMake FileAPI Driver. I guess the workaround until v1.3.1 is released, is to change back to ServerAPI by setting |
I faced the same problem on windows with the msvc compiler using CMake FileAPI Driver.
should be Visual Studio Professional 2017, version 15.9.19 |
@KoeMai is it expected that |
No, the first CMake 3.14rc based implementation had relative paths. It is tested in Linux and windows with VS 2017 Community in combination with CMake 3.14.4 and CMake 3.16.2. I need a MinGW environment for the problem reconstruction. @sialiuk Whar MSVC compiler do you use? |
I checked the relative paths. In systems, it is necessary to concrete the build directory with the executable path. At the moment I do not see any difference between my windows environment to @Darky-Lucera . -->cmake_file-api(7)
|
The artifact paths could be relative or absolute. The path type depends on the RUNTIME_OUTPUT_DIRECTORY.
* Fix problem #1067 - RUNTIME_OUTPUT_DIRECTORY The artifact paths could be relative or absolute. The path type depends on the RUNTIME_OUTPUT_DIRECTORY.
Fixed in 1.3.1 |
Brief Issue Summary
I'm not able to debug anymore with Visual Studio Code 1.42 (user), CMake Tools 1.3.0, MinGW 17.1 (GCC 9.2.0) from nuwen (https://nuwen.net/mingw.html)
Pressing the [Debug] button, I get the message "Launch program 'BuildPath \ FullExecutableFileAndDirectory' do not exists.
Where BuildPath is my current cmake build path: 'c:\project\build' and FullExecutableFileAndDirectory if the full path to my current selected executable: c:\project\bin\foo.exe
Concatenated: c:\project\build\c:\project\bin\foo.exe
This is the content of my launch.json:
Expected:
Do not concatenate the build directory and the full path of the executable.
CMake Tools Log
Developer Tools Log
Platform and Versions
Other Notes/Information
The text was updated successfully, but these errors were encountered: