52,755 questions
0
votes
0
answers
38
views
Debugging Structure formulas in Jira Cloud
In the non-cloud version of Jira, Structure had a debug feature where you could step through the Jira formula's execution and see the values in each variable. That feature either doesn't exist in ...
1
vote
0
answers
157
views
Tauri Dev Tools Not Auto-Opening
I am running a basic Tauri application. I have a few hello-world commands running in the background, in lib.rs. I also have a react-based front-end running, from which these commands are being called.
...
-4
votes
1
answer
90
views
COBOL assignment debugging [closed]
Here is the prompt for my class assignment:
Create an interactive program for ice cream sales you must sell at least four flavors of ice cream and you must us an evaluate statement. The ice cream ...
0
votes
1
answer
85
views
Error Could not verify ST device when Debugging code for my Blue Pill board
Created a new STM32 project and made settings below:
HSE: Crystal/Ceramic Resonator
SYS: Debug: Serial Wire
Clock: 72 MHz
Here's the debugger settings on STM32CubeIDE (version 1.19.1) with a simple ...
0
votes
0
answers
70
views
Visual Studio debugger crashes when selecting IFormFile in Swagger UI
I'm running an ASP.NET API in Visual Studio. I have an endpoint to upload a file using IFormFile.
[HttpPost(Name = "AddDocument")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ...
5
votes
2
answers
261
views
Function templates leave out debug lines
I am working in a codebase that makes heavy use of templates. This causes many issues with debugging, because the compiler leaves almost no debugging information behind to tie object code back to ...
4
votes
1
answer
868
views
How do I make this, presumed, very basic DWARF example work, using dwarf.exp?
I need some help, trying to put this very basic DWARF example to work.
I found this link: Dwarf hello world assembly example or tutoral?, where the only answer says "...there is a simple "...
0
votes
0
answers
44
views
How to make IDA show negative offset in an address?
When disassembling a program, IDA has detected the instruction lea eax, [myvar_a+ebx+3] with this data:
myvar_a db 0, 11, 22, 33, 44
myvar_b db 55, 66, 77
Actually, the instruction should be lea eax, ...
0
votes
0
answers
16
views
How to make IDA 8.4 display NULL pointers in structs as valid (non-error)?
In IDA 8.4, when I define a struct in C syntax: struct mystruct { void *myptr; }, then I create a struct var with mystruct, and the value is 0, then IDA displays the pointer with red background, ...
1
vote
1
answer
43
views
How can I skip uninteresting functions/files with lldb (in boost asio)?
I would like to skip the whole boost library details when stepping through the code in the debugger.
Example uninteresting things I would like to skip:
(lldb) n
Process 577286 stopped
* thread #1, ...
0
votes
0
answers
23
views
Is there a way to debug macports provided packages with source code?
How do I debug a macports provided package with the source code?
I currently see the decompiled assembly language, what I need is the line on which the code crashed.
Process 90037 stopped
* thread #1, ...
0
votes
0
answers
57
views
Not seeing ErrorHint in VSCode Debugging Console
Learning Flutter/Dart and running some AI slop through VS Code. I can track down the error through the CallStack, but my Debug Console isn't outputting any indication of a crash. I don't have any ...
3
votes
0
answers
291
views
PyCharm Debugger Stuck on "Collecting data..." When Debugging Pytest Unit Test
I'm encountering a persistent issue with PyCharm when trying to debug a pytest unit test.
Running the project normally and attaching the debugger works fine. Debugging regular scripts behaves as ...
1
vote
2
answers
82
views
How to print swift object in LLDB for given address?
In ObjC++, I just use po $x0 to print the first argument of a function. If it's an object, it will display it in detail.
However, in Swift when I do this for an swift object, I got an error:
po $x0
...
0
votes
0
answers
114
views
Debugger not stepping through code in VSCode with Rust – Unable to debug using `lldb` on Windows
I'm trying to debug my Rust project in VSCode but the debugger doesn't step through the code. I have lldb configured as the debugger, but breakpoints aren't hit, and I can't step through my code. I’m ...
0
votes
0
answers
293
views
In WinDBG, issuing .excr command shows “Unable to get exception context, HRESULT 0x8000FFFF” instead of the expected registers information
I am following a very basic tutorial on WinDBG (windbg tutorial ytb [not guaranteed broken link in the future]).
Is being quite a nightmare, at least from my knowledge base.
My context is Windows 11....
1
vote
2
answers
507
views
SwiftUI .toolbar(placement: .keyboard) not showing buttons on first appearance (iOS 18)
Background
I'm building a SwiftUI form (AddRecipeView) inside a NavigationStack. I’ve added a .toolbar(placement: .keyboard) with a “Done” button to dismiss the keyboard, especially useful for ...
0
votes
1
answer
193
views
Why the cpp process does not exit when I click the "Stop" button in CLion debug mode?
Problem
My process does not exit when I click the stop button in CLion, as the following pics show:
MWE
#include <windows.h>
LRESULT CALLBACK CrosshairWindow_WndProc(HWND hWnd, UINT msg, WPARAM ...
-3
votes
1
answer
138
views
How to step into C++ code from Python using pybind11 in VSCode when using Python C++ Debugger? [closed]
Question:
I am trying to debug a Python script that calls a C++ function through a .pyd module built with pybind11 (compiled using MSVC). I want to set a breakpoint in Python, and when I press Step ...
0
votes
0
answers
87
views
Getting a fatal error in Windbg on strat up of target virtual machine
I just setup this WinDbg debugging configuration yesterday and I'm getting a fatal error of memory corruption. The target machine is VMWare Workstation 17.5.x over a COM port named pipes. Secure boot ...
0
votes
0
answers
34
views
How can I attach to an existing Android process when using VS2022 on a dotnet MAUI project?
If I run a maui project from command line such as
> dotnet build -f net9.0-android .\MyMauiProject.csproj -t:Run
This starts the app in the USB attached Android Device.
How can I attach to it from ...
1
vote
1
answer
52
views
Debug third party library code in QtCreator in a CMake project
I need to be able to debug internals of calls to OpenCV functions in my code, using QtCreator.
I did the following:
Downloaded OpenCV source code (from here: https://github.com/opencv/opencv)
...
0
votes
0
answers
41
views
Emacs interactive functions that generate lisp-errors with some names when using Ivy and lsp
Many interactive functions generate lisp errors depending on the function name when using ivy and lsp and debugging it is difficult (in part because of the bytecode compile-function references). This ...
1
vote
1
answer
129
views
Dangling pointer to pointer warning
gcc gives the following warning:
warning: storing the address of local variable 'node' in '*root_p' [-Wdangling-pointer=]
in this code:
treenode_t *nodeInsert(treenode_t ***root_p, int key){
...
0
votes
0
answers
44
views
stack_trace : Is there any potential issue with wrapping my app in Chain.capture()
I'm working on a Flutter app and want to improve my error reporting, especially for async errors. I came across the stack_trace package and its Chain.capture method, which seems to provide much better ...
1
vote
0
answers
97
views
Treat every line of my code as a breakpoint
I am working on a C# web app. I want to do something in the UI, then break as soon as the request hits any of my organization's C# code. I do not want to break as soon as it hits Microsoft middleware,...
0
votes
1
answer
97
views
How can I debug, inside VS Code, typescript that is transpiled to js (using tsup) and then referenced via <script> tag inside a webpage?
I am trying to figure out how can I debug a script, in VS Code, that executes in the browser, but its source is Typescript.
I provide my full setup so far here - package.json:
"scripts": {
...
2
votes
2
answers
72
views
pdb.set_trace() fails inside test with monkeypatched open
I have a test monkeypatching builtin open to test a class which expects to read a file. When trying to debug it, I see:
TypeError: test_unique.<locals>.<lambda>() got an unexpected keyword ...
2
votes
0
answers
99
views
Using qKnowledgeGradient with SaasFullyBayesianSingleTaskGP gives shape mismatch error
I’m trying to use qKnowledgeGradient with a fully Bayesian SAAS (Sparse Axis Aligned Subspace) GP (Gaussian Process) (using SaasFullyBayesianSingleTaskGP) in BoTorch. I'm doing so by writing a new ...
0
votes
0
answers
31
views
Error: "Unable to set the next statement. The attempt to unwind the callstack failed." in VS2022, but VS2019 works
I am unable to move the next statement pointer in VS2022 outside the catch block if an Exception is thrown.
If I run this code in a VS2022 (17.14.4) Unit Test Project (.Net 4.81), set a break point on ...
0
votes
1
answer
213
views
AWS Bedrock Agent Action Group Creation Fails with Claude 3.5 Sonnet - Tool Name Validation Error [closed]
Problem
I was experiencing repeated failures when creating AWS Bedrock Agent action groups using Claude 3.5 Sonnet as the foundation model. The CloudTrail error indicated an APISchemaException with ...
1
vote
1
answer
80
views
Cygwin GDB not working under Codeblocks, (error 2: The system cannot find the file specified.)
The title says it all.
This question is quite the same with this question. However, the difference is that now it is 2 years and 4 major versions of cygwin gdb later. I want to believe that keeping ...
0
votes
0
answers
99
views
Why doesn't GDB hit the breakpoint at main after monitor reset run with OpenOCD?
I'm debugging a Cortex-M4 embedded device using GDB and OpenOCD.
Here's what I do:
Connect GDB to OpenOCD:
target remote :3333
Set a breakpoint at main:
break main
Then reset and start the program:
...
1
vote
1
answer
82
views
Assembly function makes the call stack incomprehensible in Visual Studio
I am developing a scripting language VM. The main application is written in C++, it calls script functions that can call native function back through the native interface API, similar to JNI - Java ...
0
votes
1
answer
77
views
How to log memory leaks using a custom logger? [closed]
I started using LeakCanary in my app.
Based on various sources, I found that with this dependency:
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.14'
LeakCanary watches the ...
2
votes
2
answers
124
views
Does Excel VBA's "Scripting.Dictionary" work in languages other than English?
everyone. I appreciate the people that helped me a few days back. I can say that there has been a bit of progress, but it's pretty much not done yet.
I'm trying to compare the Primary Store (Column C) ...
3
votes
1
answer
60
views
Python async issue with PhaseMap package
PhaseMap is a python package I am trying to use, but the minimal working example in the tutorial isn't working:
import phasemap as pm
def phase(pos):
x, y = pos
return int(x**2 + y**2 < 1)
...
-2
votes
2
answers
152
views
How can I debug a terminal program (like vim) with gdb/cgdb?
Background
I am modifying the source code of vim and I need to use a debugger.
Problem
Since vim is a terminal program, it takes over the terminal when it starts. So as soon as I start inside gdb, I'm ...
-1
votes
1
answer
51
views
How to find what template is causing an error when the error and trace don't say?
I'm getting the typical NG02200: Cannot find a differ supporting object '[object Object]' of type 'object'. error. The issue is, the error was caused by code written by someone else a while ago, and I ...
0
votes
0
answers
136
views
Delphi 7 IDE Debug Slow Start
I have used Delphi 7 Enterprise for many years now.
Suddenly, running the integrated debugger takes 10 seconds to launch.
My D7 ran as a v6.5 VM under ESXi 6.7.
For many years it is a speedy performer....
0
votes
0
answers
118
views
Debugging MSVC/PDB applications in VS Codium
I do a lot of C++ programming in VS Code, and I'd like to switch to the less Microsoft-related VS Codium, which I gather has to make use of a different collection of extensions. Everything has worked ...
-1
votes
1
answer
86
views
WebWorker giving a vague error. How do i understand what the error actually is?
I'm using a webworker to delegate some tasks related to world generation in a html/css/Javascript project.
I'm currently using replit static HTML to preview and run it.
The error message shows up in ...
0
votes
0
answers
55
views
How to properly set up debugging for a TypeScript Node.js project using decorators and ES modules?
I have a TypeScript Node.js project that uses:
Experimental decorators ("experimentalDecorators": true)
Emit decorator metadata ("emitDecoratorMetadata": true)
ES modules ("...
0
votes
0
answers
19
views
Outlook add-in cannot figure out how to debug inside a Office.OnReady()
I've been working on an outlook add-in thats supposed to do some things with attachments when a mail is send, I've tried to use events for this but came to the conclusion that it may just be ...
-1
votes
1
answer
80
views
How to forcefully terminate a running Python test in VSCode
Closely related to my question is VSCode: how to interrupt a running Python test?, however in my case the standard method of pressing the square in the Test Results tap does not work.
What is ...
0
votes
0
answers
66
views
debugging break error in jq JOIN function
I'm trying to get more information on an error in jq.
I have two files, let's call them file1.json and file2.json, both of which contain an array of objects that I want to join by a common property, ....
0
votes
0
answers
104
views
Can't get vscode debugger to attach to unity project deployed on Android
I'm trying to deploy a Unity AR Game to Android on Ubuntu, but can't get the debugger to attach. The steps I do are:
Check Development build, Wait for managed debugger, and Script debugging in Unity ...
0
votes
1
answer
161
views
How to debug Sheets.Spreadsheets.batchUpdate
I have a script that imports sheets from one project to another by way of the script ID. It's a very large script so it would not be feasible for me to condense it down to a MRE because I do not know ...
0
votes
1
answer
50
views
How to automatically print a variable in pdb?
I am debugging a code in Python using Pdb:
a = [12, 3, 4, 10, 23, 1]
def compute(x):
return 2 * x
for i in a:
b = compute(i)
To trace the value of a variable inside the loop, I set a ...
0
votes
0
answers
53
views
Python debuggers - Internals
I have been reading about the sys.monitoring API that has been released for Python 3.12. I understand a bit of its working and can point sys.breakpointhook to my own function and print out simple ...