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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

restart a game in unity

The game restarts after completion, but upon restarting, it unexpectedly exits after a few seconds. What steps should I take to debug this issue? Is there a need to change in the Unity editor? I want ...
Hadis Seif's user avatar
0 votes
0 answers
11 views

Produce a Windows Crash Dump Without User Intervention And Get An Error Dialog

We setup Windows 7 machines with touch displays that users interact with as a kiosk (ie. single, simple UI). We setup Windows Error Reporting to produce a Windows minidump file by creating ...
JaredH's user avatar
  • 1
0 votes
0 answers
11 views

Debugging Google Fitness Permissions as if Downloaded from Play Store

I've been working on an application with an iOS and Android build and (successfully) requested activity recognition permissions from the Google Play Console. I even released a closed track build and ...
Rufino Salgado's user avatar
0 votes
0 answers
13 views

Flutter- debugging

i'm new to flutter and dart. I was recreating an app following a step by step video (i know, many of you will be like "oh no, do your own stuff"...but i'm dealing with errors that the dude ...
Carlonz's user avatar
0 votes
0 answers
6 views

Visual Studio 2022 debugger not processing referenced dll code properly

I have a C# app using .Net framework 4.8 that references a dll from another project. The code in the referenced dll project has 2 methods that look something like the following: string Method1(...
Rick's user avatar
  • 11
0 votes
0 answers
4 views

lldb-server inherits environment from client, not from host

I am trying to launch a process for remote debugging using lldb-serve. I want the process to run with environment from the remote machine where lldb-server is running. The target.inherit-env does not ...
Muxecoid's user avatar
  • 1,203
0 votes
0 answers
28 views

How can I solve the error too much recursion in my Chartcomponet in vue?

For my school project i am making a monitor system in which I visualise sensor data.This data is being updated every 5 seconds and is saved only for the session. this visualisation is done using the ...
Guus Arts's user avatar
-1 votes
0 answers
18 views

Debugging an Authorization Plug-in remotely via SSH

In an old document from Apple(Debugging An Authorization Plug-In With Xcode), a method was taught to debug plugins on the device remotely, but I can't find this feature in the new Xcode version. Does ...
Jafar Heidary's user avatar
0 votes
1 answer
56 views

Why a bogus address is getting stored in the mutex pointer in the Glibc-2.24 POSIX pthread API: __GI___pthread_mutex_lock(mutex=0x2) at line number 81

I am currently working on a problem where a crash is happening in one thread which is responsible for handling different types of signals. Interestingly the crash is happening in a POSIX pthread API: ...
strikersps's user avatar
0 votes
1 answer
20 views

Unable to run backtesting.py on Jupyter Notebook

Backtest.run() Output: <bound method Backtest.run of <backtesting.backtesting.Backtest object at 0x0000022BAA3F79A0>> Backtest.plot() Output: <bound method Backtest.plot of <...
Cheng Jun Wei's user avatar
0 votes
1 answer
43 views

Unity C# going into methods that aren't called

My code is going into methods when I'm not calling them and it is messing up the game but I can't figure out how to stop it. I'm new to Unity and C# so sorry if this is obvious. using System....
Alex's user avatar
  • 1
0 votes
1 answer
27 views

VS Code debugger exits out when I hit play or run button

I want to use debugger with node. VS Code debugger exits out when I hit play or run button. It just exits out , it shows no breakpoint. Here are my config: { "version": "0.2.0", ...
Yuvraj's user avatar
  • 11
1 vote
2 answers
76 views

Why is my GDB executing two breakpoints at a time?

I am learning to use GDB to debug the following problematic C program: /* * Copyright (c) 2020, Dive into Systems, LLC (https://diveintosystems.org/) * Program with some bugs in the findAndReturnMax ...
ll cool's user avatar
  • 53
0 votes
0 answers
15 views

How can I debug Fastlane file in VSCode with "VSCode rdbg Ruby Debugger" or similar?

I'm trying to debug my custom lane Fastlane code within VSCode, but it cannot find Fastlane source code. What may be a minimal launch.json snippet and what other setup is necessary? So far I tried the ...
Sergei Kuzmin's user avatar
1 vote
0 answers
57 views

C code along with assembly code - debugging and knowing intermediate values

I have a repo where code is jumping from C/CPP code to assembly code. Although I want to debug the code parts of assembly code , I am not exactly sure on how to do the same. I want to know ...
Srihari S's user avatar
0 votes
1 answer
41 views

CS50 blur function only calculate the middle pixel correctly + seg fault

// Blur image void blur(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE blurred[height][width]; int i = 0; int j = 0; int sumred; int sumgreen; int sumblue; ...
Butterworth Filter's user avatar
-3 votes
1 answer
57 views

How can I debug code 700 "illegal memory access" aka `CUDA_EXCEPTION_14, Warp Illegal Address`?

My code is showing CUDA error calling "cudaStreamSynchronize(0)", code is 700 an illegal memory access was encountered on 489 0# my_func(signed char const*, unsigned char const*, int*, int*,...
Richard's user avatar
  • 57.4k
0 votes
1 answer
21 views

CS50 Pset4 filters-less sepia doesn't output the correct RBG value with the formula

// Convert image to sepia void sepia(int height, int width, RGBTRIPLE image[height][width]) { int i = 0; int j = 0; int oRed; int oGreen; int oBlue; int sepiaBlue; int ...
Butterworth Filter's user avatar
0 votes
1 answer
33 views

How to fix/debug this particular (and preferably in general) TypeScript compilation error?

I have this TypeScript code (it's dirty, with comments because I decided to leave them to show various approaches I've tried): function getPlacesToStopExchange(): { our: { i: number; val: number; }[]...
d.k's user avatar
  • 4,293
-2 votes
0 answers
57 views

How can I get a Memory map of the entire system?

I'm making a Ring 0 debugger and I need to somehow get a memory map of the entire system, as is done in WinDbg in the case of kernel mode debugging. I found such a question, it shows most of what I ...
Barbosso's user avatar
-1 votes
0 answers
5 views

Trying to load a thermal YOLOv8 model on VSC- get the bug: isort client: couldn't create connection to server

screenshot of problem I'm trying to load the thermal version of the pre-trained YOLOv8 model on visual studio code but it says isort client: couldn't create connection to server I tried loading the ...
Romi's user avatar
  • 1
0 votes
0 answers
10 views

How to see source code locations of docusaurus warnings?

When I run npm run build to build website using docusaurus 3.0.1, I get some warnings without any reference to problematic source files and line numbers, like shown on the image below. How can I ...
Apogentus's user avatar
  • 6,453
0 votes
0 answers
18 views

Can you enable debugging 'Just My Code' in a NodeJS application in VS Code?

I've been debugging in VS Code in our NodeJS Application and am a bit frustrated I have to step through 'library code' as I debug our application. Can you enable a setting to debug 'just my code'; I'...
andrew_scfc's user avatar
1 vote
0 answers
15 views

MOEA/D Algorithm Always Returning a Single Solution Instead of the Pareto Frontier

class MOEAD: def __init__( self, problem, n_dim, n_population, n_neighbors, bounds, n_generations, crossover_probability, ...
HaiAu's user avatar
  • 11
-3 votes
0 answers
18 views

1.85.0 Debug Step Menu Issue [closed]

I can't find my debug step menu with step over step into step out etc. this morning. it looks like VS Code got auto updated yesterday with 1.85.0. Is there an issue? How can I get my debug step menu ...
Reconmax's user avatar
0 votes
1 answer
36 views

VSCode debugger does not stop at breakpoint

I keep receiving this message while debugging: Module containing this breakpoint has not yet loaded or the breakpoint address could not be obtained. Because of that I can not start debugging at the ...
Eddy's user avatar
  • 1
1 vote
2 answers
35 views

Check if program runs in Debug mode in PyCharm 2023

I use the PyCharm IDE for Python programming. I previously used the methods described in Check if program runs in Debug mode to check whether I'm in debugging mode or not when I run my program. ...
Peter Villano's user avatar
0 votes
0 answers
36 views

Having trouble with Invalid read of size 8 for C when passing a fgets string into a method [closed]

I'm having a bit of trouble with some C code. I'm trying to read in a name using fgets (as getline() doesn't seem to work on my Windows vscode). while (1) { char input[128]; fgets(...
legosp7's user avatar
1 vote
2 answers
33 views

Angular - Data Not Displaying in Table and Source Map Error

I'm working on an Angular application and facing an issue with displaying data in a table. In my component's ngOnInit, I fetch data from a service and assign it to a rows variable. The debugging logs ...
Michael1834's user avatar
0 votes
0 answers
14 views

Android : Failed to attach: unable to connect to remote frida-server: closed

I'm trying to bypass Frida (Android) local port scanning detection, so I followed this guide. The sequence of commands I used are : (magic_man is alias for frida_server) adb root adb push magic_man /...
exploitr's user avatar
  • 842
0 votes
0 answers
45 views

What's the best way to find all the function declarations in C source code [closed]

I'm trying to write a python script that searches a set of C files and returns all function declarations in them for further processing. I as of yet have been unable to find any effective and ...
Zamyatin's user avatar
0 votes
0 answers
20 views

Is there any reliable JSON visualizer that could handle visualization of big JSON dumps from Google Chrome Dev Tools Performance tab profiler? [closed]

I did three different JSON dumps using Google Chrome's Developer Tools Performance logging tool, regarding code execution of website's I'm working on. The dumped code involves all of the code calls ...
ar_IGT's user avatar
  • 11
0 votes
0 answers
26 views

images of graphs getting distorted and blurred when merged into final PNG file using matplotlib

I want to display some plot graphs , a single graph when converted to png doesnt cause any problem but when i have to display multiple plot graphs with the table in png format the graph gets blurred. ...
mtalhastar's user avatar
0 votes
1 answer
27 views

How to fix live debugging for flutter

I am fairly new to flutter development. I am using vs code and windows 11. I am trying to live debug using usb to my phone. It is a Huawei p20 pro that still uses android. I've tried most solutions ...
Googler 101's user avatar
0 votes
0 answers
14 views

Is there a way to record entire call stack (start to end) of methods called during execution of an app using Google Chrome or IntelliJ Idea debuggers?

I'm working on a rather complicated legacy app and the frontend part of it consists of few different applications, all written in either JavaScript or TypeScript with Angular 8+. They are all designed ...
ar_IGT's user avatar
  • 11
-1 votes
0 answers
21 views

Problems with return values in GoogleTests for C++ [duplicate]

I'm very new to C++ and I'm trying to write unit tests using GoogleTest suite. I found a bug but I don't know how to fix it. When I run my suite of tests they fail even though the values of the ...
NickNick's user avatar
0 votes
0 answers
33 views

Python, debugging: is it possible to capture the moment when the content of a selected variable changes?

I need to capture in my program who changes the contents of a certain variable. I know that a breakpoint can be set in the Python debugger in the VSCode environment so that the program breaks at that ...
Martin Finke's user avatar
0 votes
1 answer
21 views

How to set default debugger at project level in VSCode [duplicate]

In VS Code when I click Run > Start Debugging (F5) it asks for the debugger with a list, or it starts debugging with the debugger related to open file. I want to tell VSCode to always debug with a ...
Hardik's user avatar
  • 393
0 votes
1 answer
56 views

Python Debugging in VsCode : Module not found error

I have been trying to run the debugger for my python file. However, I get module not found for the import statements which are importing modules outside the directory of my python file which I am ...
Parshant Singh's user avatar
-3 votes
0 answers
24 views

How to read Debug parameters in deep learning

I am a beginner in deep learning and I am struggling to read some source code.But when I debug the source code on Pycharm , I can't understand some parameters . Could you recommend some videos or ...
Adventure Ryan's user avatar
0 votes
0 answers
46 views

GDB reads debug symbols locally but not in cloud

I have a suite of programs that I developed locally, and I have uploaded the files to a cloud server at Digital Ocean -- a procedure I have done many times before. However, this is a new cloud server ...
RTC222's user avatar
  • 2,131
-3 votes
0 answers
53 views

Write a Python function that takes two matrices as input and returns their product if the matrices can be multiplied [closed]

To multiply two matrices, the number of columns in the first matrix must be equal to the number of rows in the second matrix. If this condition is met, the resulting matrix will have dimensions equal ...
Mahendra Singh Barod's user avatar
0 votes
0 answers
46 views

How does Python store data returned from a function when used in another function?

I have been trying to do an animation using data stored in a file. With FuncAnimation I managed to create a function that made the animation, so I could call that function in some other module. ...
HorchataBoy's user avatar
0 votes
0 answers
19 views

how to debug torch distributed processgroup?

I want to analyse the pytorch distributed backend interface but I don't know how to debug it.QAQ vscode python,debug+ gbd attach,python C++ debuuger Subprocesses can't be debugged? I'm wondering if ...
Haitao Xiao's user avatar
-1 votes
0 answers
37 views

Need Help Understanding and Debugging Results [closed]

I am currently working on a project that involves the implementation of a Markov model on a growth model using Python, Pandas, and Statsmodels with two regimes I have encountered an issue with the ...
David K's user avatar
0 votes
0 answers
27 views

Keeping class properties up-to-date when they depend on other properties [closed]

I am asking myself, when I should update my properties that depend on other properties. In my approach, I update the isPopular property on construction and on setting of the playCount property which ...
Frank's user avatar
  • 19
1 vote
1 answer
41 views

Type Error in Binary Search Tree Implementation in Common Lisp

I'm currently working on a binary search tree implementation in Common Lisp and have encountered a type error. The error arises when I try to find the minimum or maximum key in the tree. Here's the ...
boss man's user avatar
0 votes
0 answers
13 views

How to deal with the relative path in spyder

I have an ImportError when I run a python file in spyder that have "form .tool import *" althought, the __init__.py exist in all directory of the package. I want to run a python file in ...
Tarek Hadj Hassen's user avatar
0 votes
0 answers
31 views

Requested Thread name missing when is the only one

If only one thread is returned in the response of a DAP 'threads' request its name is missing in the call stack view. The call stack of that thread is shown directly in the view. { {id = 1, name = ...
xenomeno's user avatar
0 votes
0 answers
14 views

Pinescript for structural pivots

I amd trying to mark a bar a structural pivot high (SPH) or structural pivot low (SPL) as per the conditions below: A bar is marked as an SPL by finding a combination of 3 bars, an Anchor Bar, Bar 1 ...
m1akitak1r's user avatar

1
2 3 4 5
1044