417 questions from the last 365 days
0
votes
0
answers
41
views
React Native Expo: API works in debug build but only one API works in release APK
Description
I’m working on a React Native Expo application that uses two internal APIs (developed by our own AI team) for image background removal.
Expected Behavior
The app provides two options:
...
2
votes
1
answer
101
views
Debugging Jupyter Notebook in VS Code
I tried to debug a notebook in VS Code but I can't. When I set a breakpoint and run debug cell or press F5, I am getting this error
/usr/bin/env /home/user/anaconda3/envs/myenv/bin/python /home/user/....
1
vote
0
answers
47
views
Unable to debug test
I've just moved from Jasmine and Karma to Vitest in my Angular 21 frontend project.
The migration went smoothly, and I now have all my tests running correctly inside a Chromium browser.
Here is my ...
-4
votes
0
answers
74
views
Python script not reading input file correctly and returning empty output [closed]
I am working on a small Python script that reads data from a text file and processes each line. However, when I run the script, it does not produce any output, even though the file contains valid data....
3
votes
3
answers
193
views
Why does a global statically initialized variable have a different value when debugging? / Why is my debugger loading different code to my device?
I am doing some embedded development practice in C, and I ran into an issue that puzzles me which suddenly popped up.
I have a variable that is initialised in main.c:
// Led colour setting
BSP_LED_HSL ...
Best practices
1
vote
0
replies
38
views
Test a kernel driver in QEMU
How should I test a Linux kernel driver, without a real device. It is not a device that QEMU supports(in my case, it's drivers/tty/serial/digicolor-usart.c).
Gemini told me I can modify the source ...
2
votes
0
answers
50
views
Disable attribute evaluation in debugpy / pydevd in Visual Studio Code
I have an object which has multiple properties that when accesses query a SQL database. When I debug a region where such an object is present, e.g. in VSC with debugpy, all these attributes are ...
4
votes
1
answer
198
views
Is it possible to know if the debugger is running free or not?
I find hard to explain myself, so i'm starting with my specific need as example and then asks for a more general question.
I have some functions which are dependent of time passed from the last call, ...
0
votes
0
answers
111
views
I keep getting the zone-out response instead of JSON [closed]
I'm trying to get JSON data out of this but I get:
Z {__zone_symbol__state: null, __zone_symbol__value: Array(0)}
__zone_symbol__state
:
null
__zone_symbol__value
:
[]
Symbol(Symbol.species)
:
(...)
...
0
votes
0
answers
76
views
How do I turn the Run button into Run and Debug in VSC?
On my newest project in VSC, I have a Run button:
(with a play symbol),
but on my previous project, I had a Run and Debug button:
(with a bug symbol over the play symbol).
How do I get the Run ...
0
votes
2
answers
101
views
translation of f# expression to c# in the debugger
Ionide debugger doesn't support f# now. Such expressions should be translated to c#.
How can I see, say, the following expression:
connections|>List.map(fun c->c.Probabilities)
Edits:
Tried the ...
2
votes
0
answers
87
views
Debugging a c# xunit project with netcoredbg in neovim is skipping the breakpoints
I'm using netcoredbg to debug xunit tests for a c# project in neovim.
I'm getting this warning:
"You are debugging a Release build of MIcrosoft.TestPlatform.Build.dll. Using Just My Code with ...
2
votes
1
answer
236
views
Kernel panic during ROP chain: GDB stepping mismatch and unexpected register state
I am working on a Linux x64 kernel exploitation CTF challenge. I have constructed a ROP chain to execute commit_creds(prepare_kernel_cred(0)).
However, I am encountering a major inconsistency between ...
0
votes
1
answer
62
views
How to use debugger in Colab?
when we use vscode we can debug inside function from where we call function. How to do like that in google colab cloud server? Please help me.
def decorator(func):
def wrapper():
print(&...
1
vote
0
answers
78
views
How do I get DuckDB CLI to successfully log errors?
I'm using the DuckDB CLI, version 1.4.2 on macOS.
The plan is to use duckdb as a part of a CLI pipeline, not from inside of a Python script, etc.
I've already got the tooling to build out the script ...