Coder Social home page Coder Social logo

Comments (14)

darksectordds avatar darksectordds commented on May 13, 2024 8

if diable breakpoints type "All Exceptions" then work fine.

from vscode-mock-debug.

kjeremy avatar kjeremy commented on May 13, 2024 1

Seeing the same thing on vscode 1.39 but disabling break points does not let me work around it.

from vscode-mock-debug.

santhosh-john avatar santhosh-john commented on May 13, 2024 1

Try unchecking the All Exceptions checkbox under Breakpoints palette inside VS Code. It will work.

from vscode-mock-debug.

estarkey7 avatar estarkey7 commented on May 13, 2024

I'm stuck with this error also. I just can't work around this as I try to write an in circuit emulator debugger.

from vscode-mock-debug.

weinand avatar weinand commented on May 13, 2024

Please provide steps so that I can reproduce what you are trying to do.

from vscode-mock-debug.

as1ndu avatar as1ndu commented on May 13, 2024

I have been stuck with this for months. Any solutions?

from vscode-mock-debug.

kramsram avatar kramsram commented on May 13, 2024

Just continuing the session by choosing to run on the break seems to work for me. The breakpoints seem to work as well after this. It is still annoying to have to keep pushing the button every I time start a session.

from vscode-mock-debug.

weinand avatar weinand commented on May 13, 2024

Recently we have switched to a new JS debugger. So this problem should no longer occur.

from vscode-mock-debug.

Rainnut avatar Rainnut commented on May 13, 2024

how to resolve problem? me too

env:

版本: 1.56.0
提交: cfa2e218100323074ac1948c885448fdf4de2a7f
日期: 2021-05-04T22:06:21.189Z (6 天前)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 20.2.0

F5 debug,error:
image

from vscode-mock-debug.

zokizuan avatar zokizuan commented on May 13, 2024

how to resolve problem? me too

image

from vscode-mock-debug.

as1ndu avatar as1ndu commented on May 13, 2024

Try unchecking the All Exceptions checkbox under Breakpoints palette inside VS Code. It will work.

This seemed to solve it for me

from vscode-mock-debug.

calidion avatar calidion commented on May 13, 2024

encountered the same problem.

Exception has occurred: Error: Cannot find module 'supports-color'
Require stack:
- /usr/share/code/resources/app/node_modules.asar/http-proxy-agent/node_modules/debug/src/node.js
- /usr/share/code/resources/app/node_modules.asar/http-proxy-agent/node_modules/debug/src/index.js
- /usr/share/code/resources/app/node_modules.asar/http-proxy-agent/index.js
- /usr/share/code/resources/app/node_modules.asar/vscode-proxy-agent/index.js
- /usr/share/code/resources/app/out/bootstrap-amd.js
- /usr/share/code/resources/app/out/bootstrap-fork.js
  at Function._resolveFilename (internal/modules/cjs/loader.js:844:17)
    at internal/modules/cjs/loader.js:737:27
    at Function._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:899:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/http-proxy-agent/node_modules/debug/src/node.js:29:23)
    at Module._compile (internal/modules/cjs/loader.js:1014:30)
    at Object..js (internal/modules/cjs/loader.js:1051:10)
    at Module.load (internal/modules/cjs/loader.js:862:32)
    at internal/modules/cjs/loader.js:774:14
    at Function._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:899:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/http-proxy-agent/node_modules/debug/src/index.js:9:20)
    at Module._compile (internal/modules/cjs/loader.js:1014:30)
    at Object..js (internal/modules/cjs/loader.js:1051:10)
    at Module.load (internal/modules/cjs/loader.js:862:32)
    at internal/modules/cjs/loader.js:774:14
    at Function._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:899:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/http-proxy-agent/index.js:11:13)
    at Module._compile (internal/modules/cjs/loader.js:1014:30)
    at Object..js (internal/modules/cjs/loader.js:1051:10)
    at Module.load (internal/modules/cjs/loader.js:862:32)
    at internal/modules/cjs/loader.js:774:14
    at Function._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:899:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/vscode-proxy-agent/index.js:15:22)
    at Module._compile (internal/modules/cjs/loader.js:1014:30)
    at Object..js (internal/modules/cjs/loader.js:1051:10)
    at Module.load (internal/modules/cjs/loader.js:862:32)
    at internal/modules/cjs/loader.js:774:14
    at Function._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:899:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at r (/usr/share/code/resources/app/out/vs/loader.js:20:263)
    at t.load (/usr/share/code/resources/app/out/vs/loader.js:16:979)
    at e.load (/usr/share/code/resources/app/out/vs/loader.js:13:998)
    at i (/usr/share/code/resources/app/out/vs/loader.js:30:259)
    at s._loadModule (/usr/share/code/resources/app/out/vs/loader.js:30:393)
    at s._resolve (/usr/share/code/resources/app/out/vs/loader.js:31:914)
    at s.defineModule (/usr/share/code/resources/app/out/vs/loader.js:26:184)
    at n (/usr/share/code/resources/app/out/vs/loader.js:33:308)
    at c (/usr/share/code/resources/app/out/vs/loader.js:17:806)
    at Object.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:1053:207)
    at Object.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:1096:61)
    at t._createAndEvalScript (/usr/share/code/resources/app/out/vs/loader.js:17:850)
    at /usr/share/code/resources/app/out/vs/loader.js:17:487
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)

from vscode-mock-debug.

weinand avatar weinand commented on May 13, 2024

What exactly are you trying to do when this happens?
Are you debugging your own code or an extension?

from vscode-mock-debug.

Muneeza93 avatar Muneeza93 commented on May 13, 2024

Hi guys when i try to install packages with npm it returns for me this error "UnhandledPromiseRejectionWarning: Error: Cannot find module 'color-support'
Require stack:C:\Program Files\nodejs\node_modules\npm\node_modules\gauge\has-color.js"
i tried to install the 'color-support package i still run into the same error.
Any assistance is highly appreciated

from vscode-mock-debug.

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.