All Questions
Tagged with visual-studio-code vscode-debugger
1,686
questions
0
votes
0
answers
9
views
Building .Net MAUI application with VSCode 'Platform/Android/google-services.json' would result in a file outside of the app bundle and cannot be used
When attempting to build my .Net 8.0 MAUI application for debugging an iOS 18 simulator on my Mac using VSCode I get the following errors:
Platforms/Android/google-services.json : error : The path '../...
-1
votes
1
answer
26
views
When debugging in VS Code, it doesn't take command inputs for Python
While debugging in VS Code, I am trying to give command lines but it doesn't take any and it moves directly to input(). Here len(sys.argv) is always equal to one.
I saw an old question which was ...
0
votes
1
answer
31
views
VS Code Golang debugger: how to figure out whether a large array contains any non-zero values
The Debug console of VS Code is displaying a large slice/array like this:
canvas.img.Pix
[]uint8 len: 2073600, cap: 2073600, [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
1
vote
0
answers
42
views
VSCode PHP Xdebug in remote server ignoring breakpoints
I'm trying to debug my app in a remote server.
The remote server is a QNAP NAS, runs Apache and has Xdebug installed.
99-xdebug.ini
[xDebug]
extension = xdebug
xdebug.mode = debug,develop
xdebug....
1
vote
0
answers
27
views
Setting Launch Config for Python Project
I have a python project thats basically a module and I have a test file test/mytest.py (VS Code Version: 1.92.2 (Universal))
Update: I found out that apparently the Python plugin might not have been ...
0
votes
0
answers
9
views
How to enable experimental Network View in Javascript debugger in vscode?
In vscode release 1.93 there is a new setting:
https://code.visualstudio.com/updates/v1_93#_experimental-network-view
I followed the instructions, but I couldn't find the Network View.
Attached is the ...
0
votes
0
answers
25
views
How to debug a testify golang code which is deployed in k8s cluster as job using vscode?
I am trying to debug golang test code which is deployed as job in local k8s cluster.
I have installed cloud code extension.
In my dockerfile I have installed dlv.
dockerfile is as below
FROM myorg.com/...
1
vote
0
answers
54
views
vscode disassembly view displays nothing but ?? bytes
I am trying to debug my c++ program running on bochs by vscode. However, when I try to open the disassembly view, it displays nothing but ?? bytes.
However, I am able to see the disassembly codes by ...
0
votes
0
answers
18
views
Attaching Node Js process inside docker to Vscode debugger
I have 3 services which are dependent on each other. E.g.
main-service depends on proxy2. proxy2 depends on proxy1.
All the services are running inside the docker (docker desktop in Mac) as 3 ...
0
votes
0
answers
28
views
Unable to start debugging program path is missing or invalid, even though the program is compiled, runs perfectly and has the correct path
enter image description here
I have all the necessary libraries installed on windows to run C program, and the program runs perfectly. But I am not able to debug the code due to this error. Also, yes, ...
0
votes
0
answers
22
views
VSCode GDB session cant find Intel Library
I am attempted to remotely debug a pice of Fortran code. On the system I have environment modules loaded for the Intel compilers. The code builds and runs fine in the terminal.
However when I try to ...
0
votes
0
answers
23
views
Exclude vscode c++ debugger header files
In GNU gdb (GDB) 14.1, i am wondering if it is possible to skip the bits/stdc++.h files in vscode's debugger. I've tried even skipping a single file -exec skip file C:\\msys64\\ucrt64\\include\\c++\\...
0
votes
1
answer
33
views
How to make VS Code jump to the current debug point?
When debugging a very large project I commonly find myself starting a debug session, then exploring ahead while the actual debugger is stopped at an earlier point.
Is there a way to refocus the text ...
0
votes
1
answer
110
views
VS Code debugger failing when debugging MAUI IOS app
I have a dotnet 8 MAUI IOS application that I have developed using VS code. I would really like to take advantage of the built in debugger but it won't boot the app in a simulator. I have seen many ...
-1
votes
0
answers
52
views
VSCode won't run batch file any more
I've been using VSCode on Windows for some years to debug Cortex-M microcontroller systems, using the cortex-debug extension and Arm's builds of the gcc development tools (including arm-none-eabi-gdb....