Questions tagged [debugging]
Debugging is a methodical process of finding and fixing bugs in a computer program. **IMPORTANT NOTE:** This tag is ONLY for questions about debugging techniques or the process of debugging itself, NOT for requesting help debugging your code.
debugging
52,657
questions
0
votes
0
answers
23
views
Python Debugging is too slow? How to make it the debugging faster?
import time
from uuid import uuid4
a=[uuid4() for i in range(20000)]
b=a[:19000]+[uuid4() for i in range(1000)]
start=time.time()
c=[i for i in a if i in b]
print(c)
print(time.time()-start)
print(&...
-1
votes
0
answers
27
views
Visual studio code debug issue [closed]
Ive been using visual studio code to write HTML and some Javascript. But I cant use the debug feature to run my code. I have to right click to "open with live server".
Why does it not work ...
0
votes
0
answers
26
views
Get cpython to optimize out constant conditions
I'm writing code in Python that needs to run as efficiently as possible, but I sometimes have the need to dig deep into debugging statements. Instead of commenting these in- or out (or using an ...
0
votes
0
answers
10
views
Connecting PUMPKIN USB Debug Adapter to computer
I'm working with the PUMPKIN GNSS receiver, and I'm looking to connect the PUMPKIN USB adapter to try and figure out what's happening. The receiver's user manual says to "Open a terminal to the ...
-1
votes
0
answers
18
views
What happened to DevTools and why are they painfully slow now?
I've recently updated Chrome DevTools, now debugging is painfully slow. What happened?
This seems to have worked for me, hope it helps!
Open DevTools settings
Click "Experiments" tab
Scroll ...
-2
votes
0
answers
18
views
strange qeustion about using vscode + wsl2 + codelldb to debug rust program [closed]
env:
OS: windows11 22631.3880
vsocde 1.91.1
wsl2
Unable to debug program using automatically generated configuration by codelldb.
The following is the config:
"version": "0.2.0",
...
0
votes
0
answers
11
views
Firefox only- Fetch GET (JSON) shows "NS_BINDING_ABORTED" with Service-Worker
I am using a Service Worker to serve cached data (1st time loading from server, then loading from Cache if same request).
A GET Fetch request to my server returns valid JSON data.
On second Page load, ...
-1
votes
1
answer
30
views
"detail": "Not Found" Error With Python Django REST API
Im having an issue with a Python Django REST API i've built that manages the file upload and retreival from and to a Google Cloud SQL DB. I am not exactly sure whats causing the error but whene i run ...
0
votes
0
answers
12
views
A problem occurred evaluating project ':app'. > Could not get unknown property 'flutterRoot' for project ':app' of type org.gradle.api.Project
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Users\Slava\AndroidStudioProjects\fbiblioteka\android\app\build.gradle' line: 2
What went wrong:
A problem occurred evaluating project '...
1
vote
1
answer
29
views
Float values get rounded creating a Hex Grid in Unity
My code generates a grid with a specified width and height and Instantiates a "hexTilePrefab" at the calculated floating point positions. The prefab has a class "HexTile" attached ...
0
votes
0
answers
14
views
React Component Workflow Issue: onComplete Function Undefined in Multi-Step Form Process
I'm working on a React application that involves a multi-step workflow process. The application manages various types of items, each with its own sequence of forms and actions.
The expected workflow ...
0
votes
0
answers
21
views
The emmeans error: "'x' is not positive definite" [closed]
I am now running a linear mixed effects model and want to use emmeans() to do the post-hoc tests.
Here is my code:
mod.cog_engagement <- lmer(scale(cog_engagement) ~ Year_ID*Group + (1 | school) + ...
1
vote
1
answer
27
views
Is it possible to modify the 'Step Into' functionality of the python debugger not to iterate the lines with the function parameters?
Let's say I am working on the following python code:
def f(a,
b,
c,
d):
print(1)
f(a=1, # breakpoint
b=2,
c=3,
d=4)
After hitting the breakpoint when I try to 'Step Into' ...
-1
votes
0
answers
31
views
During debug vb.net script, the code becomes c#
I have a VB.net script and I want to debug it. For do this I attach the debug to a Windows application.I have setted some brakpoints in the script, but when the script recive them, the IDE makes a new ...
0
votes
0
answers
47
views
No effect after i have updated my GDB version to 11.2. GDB debug failed
I have the same question. And i have all ready done the recommend solution that i updated my GDB to v_11.2. And i also have added it to the system environment path and updated the launch and task file ...