All Questions
52,727 questions
1 vote
0 answers
86 views
Strange behavior of the EAX register being truncated to 16-bit when single-stepping with CodeViewer debugger?
DOS 6.22. Virtual Machine. Simple code: .model small, stdcall .386 .stack 1024 .code Main proc mov AX, @data mov DS, AX mov EBX, 00F00140h ; ebx contain 00F00140h mov EAX,...
3 votes
0 answers
84 views
Visualizing memory as binary in natvis
I have a C++ hash map class that I'm writing natvis code for in order to easily inspect its members while debugging. One member of the class is char* myControlBytes which is an array of chars/bytes ...
3 votes
1 answer
147 views
C/C++ debugger not launching in vscode
I recently had an update of vscode (now version: 1.112.0), and suddenly I wasn't able to start the debugger any more on my C++ project. I have a launch.json with a debugger configuration (which was ...
Advice
2 votes
23 replies
259 views
Kernighan and Ritchie book. If the string does not contain a newline character, then the last character of the string will be removed. Is this a bug?
I am currently reading The C Programming Language Second Edition by Brian W. Kernighan and Dennis M. Ritchie. My question is about readlines on p.109 in this book: #include <stdio.h> #include &...
0 votes
2 answers
67 views
Using VS Code Debugger gives "ModuleNotFoundError: No module named 'streamlit'" despite active venv
I'm developing a Streamlit app in VS Code. I have created a virtual environment (venv) specifically for this project, activated it in my terminal, and installed all requirements (including streamlit). ...
-2 votes
1 answer
69 views
Python error in setup of Virtual Enviroment of Flask [closed]
I had that problem when i tried to create an Virtual Environment on Flask The error message is : + CategoryInfo : ObjectNotFound: (venv/Scripts/activate:String) [], CommandNotFoundException ...
-2 votes
0 answers
54 views
debugging issue with real device doesn't working [closed]
I'm trying to debug my application on my real iPad and iPhone but I still have with it. 1. NSXPCConnection: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/...
Advice
0 votes
3 replies
54 views
Why isn't Thonny recognising modules?
I wrote this program on a separate computer which I don't currently have access to, and it worked fine then. When I try to run the code in my own Thonny app on my laptop, I get this moduleNotFound ...
1 vote
1 answer
76 views
Debug Golang dockerized project tests
I have a Golang project, a single page application in React, where golang works as static files server and API. The application can be run using docker compose up and npm run in the web folder. Here ...
-1 votes
1 answer
233 views
What's the meaning of a memory address in the call stack window in Visual Studio?
I'm debugging my application, called floor.exe. My application is throwing an exception and I'm trying to understand what's happening. I've opened the call stack window, and I can see that window ...
2 votes
0 answers
43 views
Why does my Godot minimap system not generate rooms within the negative directions?
I made a 2D minimap drawing tool in Godot, and it works fine for both the right and down (as those are the positive directions), but it doesn't work fine for the up and left, the negative directions. ...
1 vote
1 answer
94 views
How to have a debug window that shows geometry and is fully responsive?
I have a project that manipulates geometry, and although I can step through the code and see the values, it's quite hard to verify everything without looking at the geometries that are being used/...
2 votes
0 answers
47 views
How to make debugger in IntelliJ IDE skip Java library classes? [duplicate]
Is there a way to have debugger skip Java libary classes? So it would look only at my code. In settings, I have checked Do Not Step into Classes, and below that checked java.* and javax.* but still ...
-2 votes
1 answer
101 views
Disable VSCode Debugging Info In Editor [duplicate]
I recently noticed this inline debugging info appearing when running Python in VSCode (see attached). In larger projects this can be assaulting visually with the screen full of debug info I'm not ...
2 votes
0 answers
54 views
GDB examine command shows different value than value loaded from the same address
I tried to make a function that finds all existing PCIe device's functions and saves the physical address of their config space to an allocated memory for my os, but I noticed that I got WAY too much ...