question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

integratedTerminal not working using cmake & nmake

See original GitHub issue

I used a Makefile with nmake in the past and the Debugging worked fine using the integratedTerminal. Now I switched to CMake and can build the project correctly. But the standard outputs are not in the integratedTerminal anymore. It does not even open automatically anymore.

"console": "integratedTerminal"

If I switch to externalTerminal or internalConsole the std::cout is shown.

In my Makefileis used -7Z to build a debugger version. In my new CMakeLists.txt I use set(CMAKE_BUILD_TYPE Debug).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
andreeiscommented, Feb 19, 2021

You’re going to open a report in the CppTools repository?

0reactions
KochCcommented, Feb 19, 2021

The issue is caused by the newest releas of ms-vscode.cpptools. Version ms-vscode.cpptools v1.2.0 works fine.

After changing the version back to 1.2.0 VSCode 1.53.2 as well as 1.54.0 are working perfectly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VScode integrated terminal is saying some commands are not ...
I am currently using the latest version of VScode insiders edition for MacOS and commands like. cmake .. return. zsh: command not found: ......
Read more >
Broken debugging via CMake Tools on Windows 10 #1734
CMake Tools can make a quick fix to create this on the fly launch.json by specifying "console" as either of "integratedTerminal", " ...
Read more >
Troubleshoot Terminal launch failures - Visual Studio Code
Try running your designated integrated terminal shell outside VS Code from an external terminal or command prompt. Some terminal launch failures may be...
Read more >
A more integrated terminal experience - Visual Studio Blog
When working on solutions with multiple projects or long nested folder ... when you use the “Solution view” in Solution Explorer, and not...
Read more >
C/C++ project with vscode, CMake - Adventure
But all of these IDE required you to install additional software on your PC, and the text editor, compiler combo make it hard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found