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.

[Docs]: C/C++ debug not working

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Ubuntu 18.04
  • Remote OS: Debian
  • Remote Architecture: BeagleBone (armhf)
  • code-server --version: 4.8.1

Steps to Reproduce

  1. Download and install using dpkg -i <package.deb>
  2. Add launch.json with type cppdbg
  3. Able to compile and execute. But debug not working.

Expected

Able to debug

Actual

Throws error Configured debug type 'cppdbg' is not supported.

Logs

No response

Screenshot/Video

image

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

Installed the .deb package in BeagleBone board. Running over HTTP.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
a279437145commented, Nov 23, 2022

Great , you are welcome.

Message ID: @.***>

1reaction
a279437145commented, Nov 23, 2022

the files are here launch.txt tasks.txt change the attribute to .json(I can’t upload json files to github directly),and please ignore the python configuration in launch.json it should work like this Screenshot_2022-11-23-19-58-51-30_3aea4af51f236e4932235fdada7d1643 I cant use computer now so I did that on phone , the screenshot may somehow look a bit strange,regret~

Read more comments on GitHub >

github_iconTop Results From Across the Web

CC Debugger User's Guide - Texas Instruments
To get the required USB driver for the CC Debugger, it is necessary to install one of the tools listed below: • SmartRF...
Read more >
Debug at Design Time with Immediate Window not working in ...
In a .Net Core 2.1 console app, breakpoints are not hit when using the Immediate Window. I do see things like this output...
Read more >
Debugging Options (Using the GNU Compiler Collection (GCC))
Produce debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF). GDB can work with this debugging information.
Read more >
Debugger Not Stopping at Breakpoints in VS Code for Python
It's working fine for me. · Something like this: cd c:\python_work\hello && cmd /C "set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && C ...
Read more >
Chromium Docs - Debugging GPU related code
Note: If about:gpu is telling you that your GPU is disabled and hardware acceleration is unavailable, it might be a problem with your...
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