Skip to content

c++ dubug报错command“.....”failed with exit code "1". #40

Description

@MoWangDaRen

🐛 Bug Report

A clear and concise description of what the bug is.
Error: Command "g++ -g,c:\Users\李景涛\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode\cppproblem1.cpp,c:\Users\李景涛\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode\commoncppproblem1.cpp,c:\Users\李景涛.vscode\extensions\wangtao0101.debug-leetcode-0.2.3\src\debug\thirdparty\c\cJSON.c,-o,c:\Users\李景涛\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode\cppproblem1.exe,-I,c:\Users\李景涛\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode,-I,c:\Users\李景涛.vscode\extensions\wangtao0101.debug-leetcode-0.2.3\src\debug\thirdparty\c" failed with exit code "1".
at ChildProcess. (c:\Users\李景涛.vscode\extensions\wangtao0101.debug-leetcode-0.2.3\out\src\utils\cpUtils.js:29:35)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Extension Output

Paste here the LeetCode extension log from output channel.

Guidance: Press Ctrl+Shift+U, and toggle the channel to Debug LeetCode.

Your Environment

  • os:
  • extension settings:
  • nodejs version:
  • vscode version:
  • extension version:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions