Git Product home page Git Product logo

Comments (9)

waruqi avatar waruqi commented on May 23, 2024 1

BTW, M$调试器不支持vscode,xmake-vscode能让M$调试器支持调试吗?

为什么不支持,我之前试过,可以在win下调试,用的就是 cppvsdbg

} else if (os.platform() == "win32") {
debugConfig = {
name: `launch: ${targetName}`,
type: 'cppvsdbg',
request: 'launch',
program: targetProgram,
args: [],
stopAtEntry: true,
cwd: targetRunDir,
environment: [],
externalConsole: true,
MIMode: "gdb",
miDebuggerPath: "",
description: "Enable pretty-printing for gdb",
text: "-enable-pretty-printing",
ignoreFailures: true

(没有lauch.json)

xmake-vscode内置launch.json的配置,直接传给调试器,也可以通过自定义配置,覆盖内置的launch.json配置里面的特定项。

from xmake-vscode.

waruqi avatar waruqi commented on May 23, 2024 1

vscodium 没试过,我自己都是vim+xmake的

from xmake-vscode.

waruqi avatar waruqi commented on May 23, 2024

xmake-vscode插件原本不就支持么 已经传递target path给调试器 来支持断点调试了

from xmake-vscode.

playgithub avatar playgithub commented on May 23, 2024

想用快捷键

from xmake-vscode.

playgithub avatar playgithub commented on May 23, 2024

还有,Windows下xmake create -l c++ -t static test_lib,build调试,卡住了,(没有lauch.json),显示如下
image

BTW, M$调试器不支持vscode,xmake-vscode能让M$调试器支持调试吗?

from xmake-vscode.

waruqi avatar waruqi commented on May 23, 2024

想用快捷键

目前不支持,直接点下面的调试图标 也很省事

from xmake-vscode.

waruqi avatar waruqi commented on May 23, 2024

linux下之前也有遇到卡住问题,可以参考这个:#36

通过自定义配置,覆盖内部的 externalConsole 到 false, 看下 是否ok

from xmake-vscode.

playgithub avatar playgithub commented on May 23, 2024

想用快捷键

目前不支持,直接点下面的调试图标 也很省事

BTW, M$调试器不支持vscode,xmake-vscode能让M$调试器支持调试吗?

为什么不支持,我之前试过,可以在win下调试,用的就是 cppvsdbg

哦,说错了,vscode支持,vscodium不支持,M$就是要telemetry

from xmake-vscode.

playgithub avatar playgithub commented on May 23, 2024

linux下之前也有遇到卡住问题,可以参考这个:#36

通过自定义配置,覆盖内部的 externalConsole 到 false, 看下 是否ok

我都想vim+xmake了,喜欢简单的

from xmake-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.