Skip to main content
-5 votes
0 answers
26 views

having two unfinished tests in Freecodecamps Budget App project [closed]

class Category: def __init__(self, name): self.name = name self.ledger = [] def deposit(self, amount, description=""): self.ledger.append({"amount":...
Yoofi T's user avatar
0 votes
0 answers
61 views

Pointers apparently the same shown with different values in the debugger

I have the pointer TrueSleepEx initialized with SleepEx. When I look into debugger, these pointers show different values: SleepEx 0x00007ff7c854ef28 TrueSleepEx 0x00007ffb22c27180 When I call ...
armagedescu's user avatar
  • 2,204
1 vote
1 answer
37 views

NotInitializedError was thrown building MyApp(dirty) in my Flutter app [closed]

I need help debugging this as ivm going crazy. Flutter app on vscode. This is my current code: import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import '...
M.Shaher's user avatar
0 votes
0 answers
40 views

Getting backtrace to log within a commands block

I am in the process of debugging a C++ program. I want to log all times the program goes through a specific breakpoint and capture the stack alongside some variable values. This happens multiple times,...
just_a_noob's user avatar
-2 votes
0 answers
35 views

Can I get the Python interpreter to print stack traces with one line per frame rather than two?

When an exception is raised in Python, we get something like: Location source line Location source line Location source line yet - I would rather have one line per "stack frame", e.g.:...
einpoklum's user avatar
  • 133k
0 votes
1 answer
46 views

Debugging scipy.minimize

I am trying to "minimize" using SLSQP in scipy module. With a lot of difficulty, I am trying to implement some constraints. I am encountering some strange error, thus unable to debug. My ...
Murali's user avatar
  • 21
1 vote
1 answer
94 views

'this' has a different value in the script from what is reported in Firefox console

Here is an html file: <!DOCTYPE html> <html> <head> <title>check-this</title> <meta charset="utf-8"> <script type="module"> ...
twisted's user avatar
  • 812
0 votes
0 answers
26 views

Unable to debug .NET MAUI Android App in Emulator or on Device using Visual Studio 2022

I have been developing a .NET MAUI app for a couple years now and suddenly over the past couple of weeks (around 10 days) I have not been able to debug my app on a device or a emulator. When I stop a ...
Edward Whitehead's user avatar
0 votes
2 answers
73 views

How to register hooks in Java?

For analyzing the runtime behavior of applications, or for implementing plug-ins, is there any way to add hooks to methods' input, output, etc. inside the running application? The idea: Collection....
Matthias Ronge's user avatar
0 votes
0 answers
24 views

Prisma user.create() throws 'Unknown argument team' error despite correct schema setup

let teamData = {}; if (category === "Challenger") { if (createTeam === false) { teamData = { team: { connect: { teamName: assignedTeamName }, ...
Rami Tounsy's user avatar
1 vote
1 answer
39 views

vscode java debug - casting generic types watch expression

I am having problems while debuggin my app in vscode. I have an abstract class Container defined with generics in another class Element, and 3 subclasses of Container: Worker, Vehicle, Company. The ...
joshSP95's user avatar
0 votes
0 answers
36 views

Solve "ptrace: Operation not permitted" issue with gdb inside apptainer

This question is similar to these two, but is specifically related to Apptainer. How to solve "ptrace operation not permitted" when trying to attach GDB to a process? gdb in docker ...
neo-mashiro's user avatar
0 votes
0 answers
47 views

HTML5 Canvas (with multiple SVG files drawn to the canvas) to PNG is not displaying the SVG files; however PNG is not entirely blank? [duplicate]

I'm working on a project that draws repeatedly to an HTML Canvas using a combination of the lineTo and drawImage methods. As far as I can tell, the actual production of the Canvas works as intended. (...
Syd A's user avatar
  • 1
0 votes
1 answer
23 views

How to generate an executable output file for "zig build test"

It seems that "zig build test" will run the unit tests automatically, but I want to generate an executable file which calls all the unit test functions, then I would like to load the ...
Felix F Xu's user avatar
-1 votes
0 answers
100 views

RESOLVED Why is my custom GetModuleHandle function returning a truncated pointer on x64? [closed]

I'm trying to implement a custom version of GetModuleHandle that takes a hash of the module name and returns the base address of the loaded module. Here is the code: PVOID GetModuleHandleH(DWORD ...
sad app's user avatar
  • 17

15 30 50 per page
1
2 3 4 5
3523