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.

-1
votes
0answers
13 views

Radare2 Debugger Crashes — SIGNAL 17, anti-debugger?

I am having a hard time debugging a piece of software. It appears that the creator of this "crackme" challenge has installed an anti-debugger to kill the process whenever I try to debug. I need to ...
0
votes
0answers
14 views

How can I add a words per minute count to my Speed Typing Test

This the code for my javascript and im stuck trying to create a function to display the word count and how long it took. How would i go about completing this very small simple task const testWrapper =...
-2
votes
0answers
30 views

I need help debugging this. I have been trying for two days now [on hold]

I've been studying some Python 3.6 and tried to make a simple script that can play the chrome no internet game off the website http://www.trex-game.skipser.com/. I've got the main parts finished up ...
0
votes
0answers
17 views

Smart::Comments for Python?

Are there any Python packages that provide similar functionality to perl's Smart::Comments? It has a number of features, but its core functionality is to make specially prefixed comments evaluate and ...
0
votes
0answers
16 views

Solving problems in django when no debug message is displayed

I'm using this https://rock-it.pl/multiple-forms-on-one-page-in-django/ to try and include multiple forms in a single Django view. Here's my views.py class survey_detail(MultipleFormsView, ...
3
votes
1answer
36 views

How did debuggers for 16-bit real mode programs produce stack traces?

I'm messing around with running old DOS programs in an emulator, and I've gotten to the point where I'd like to trace the program's stack. However, I'm running into a problem, specifically how to ...
0
votes
0answers
8 views

How do I set GDB output to stderr?

I am trying to debug, with gdb -batch, a program in the middle of a filter pipeline. The problem is that gdb outputs to stdout, which is mixed into the programs output, and not logged. How to change ...
1
vote
1answer
37 views

GDB print stl (ex. std::vector) with no debug symbols

While I was trying to reverse engineer my c++ code I came up with the problem of wanting to print my std::vector elements in the debugger (gdb). One of my teammates suggested to p *(std::vector *)...
-3
votes
4answers
59 views

What's wrong in my code to find character frequency?

I'm trying to output all the letters and its frequency within the string but instead only a is appearing. I thought my logic was correct but it looks like I'm missing something. What am I doing ...
3
votes
1answer
43 views

How to log all method calls for debugging in a ColdFusion application

I'm working on a bunch of legacy ColdFusion applications and coming from a Java background it's really hard to debug something. So I'm at a point where, in order to debug, I place writeDump() or <...
0
votes
2answers
30 views

Totally disabling java net ssl debug logging

I've found tons of documentation on how to enable javax.net.debug for SSL, TLS and similar, but even in the reference documentation I've not found how to totally disable it overriding programmatically ...
-4
votes
0answers
22 views

How to show/hide web profiler by IP address on symfony 4?

Does symfony 4 have IP filtering for web profiler? I need show profiler only for several IPs.
0
votes
1answer
8 views

Attaching debugger to w3wp results in system.identityModel not being found

We develop a web application (SPA, REST web API). I can run the application on my local IIS (not IIS Express) without any issues. But as soon as I attach the Visual Studio 2017 debugger (as ...
-1
votes
0answers
18 views

How to debug errors in ionic?

I am getting errors like below. That point to compiled source code. I don't have a way to know in which .ts file the error actually occurs. Runtime Error Uncaught (in promise): TypeError: ...
0
votes
0answers
12 views

How can a member function or an accessor know whether it's called by the watch window?

I have a property CanClose that handles the question "Save modified DOC?" and returns true or false. Inside this property, if the DOC has been modified, the user is asked whether to close anyway, to ...
-2
votes
0answers
35 views

I can not get into breakpoints in SQL Server Data Tools (SSIS) [on hold]

When I want to start a dtsx with breakpoints, to debug, I can not get into breakpoints. in summary I can not debug. I have not changed any parameters in the settings. How can I proceed?
1
vote
1answer
14 views

my asterisk send bye for incoming call. sip debug info attached

After the provider was changed cisco model, the asterisk dont carry their incomming calls. My asterisk ("my_ip") answered BYE for their incoming. can someone aske me why? (atached data) <--- SIP ...
0
votes
1answer
14 views

Even Based Break Point

Using Xdebug and PhpStorm (or any other debugging tool/IDE) is there any way to define a condition to break the execution without specifying the breakpoint's line? For example "break when $x>4, in ...
0
votes
2answers
22 views

MacOS keybindings not overriden inside VS Code debugger?

I'm currently using VSCode Version 1.28.2 (1.28.2). When I use the integrated debugger, I find that the F11 key (whose purpose is to step into a function) does not override the MacOS (Sierra 10.12.6) ...
0
votes
1answer
34 views

What happens if TF(trap flag) is set to 0 in 8086 microprocessors?

Here I searched that: Trap Flag (T) – This flag is used for on-chip debugging. Setting trap flag puts the microprocessor into single step mode for debugging. In single stepping, the ...
0
votes
0answers
11 views

Why am I getting runtime error in this question?

I was solving a this question on codeforces. I am getting runtime error in one of their internal test-cases (I am passing their shown test-case). This is my code t = int(input()) for i in range(t): ...
-1
votes
0answers
22 views

How to debug in PowerShell ISE

Here are the easy steps of debugging a script: 1.Set breakpoints. Breakpoints are places in your code where you want the debugger to stop, so you can examine current variable states. To set a ...
0
votes
0answers
13 views

Why I always meet the “TypeError: descriptor '__dir__' of 'object' object needs an argument” in vscode

When I use vscode to debug, I always meet the error message. This message appears since I updated to the latest version of vscode ( 1.28.2). The log is: Error evaluating: thread_id: ...
0
votes
0answers
16 views

Running lagom project in debug mode in intellij [on hold]

I have a very basic lagom java project running in my local machine. I run it locally with following command in intellij: mvn lagom:runAll I now need to debug it. How can this be done?
0
votes
1answer
28 views

Inserting Session Variables into MySQL

I am having issues with my PHP code. I am trying to insert data into a mysql database with Session variables info. The connection to the SQL table is fine. Whenever i submit the form it displays none ...
0
votes
2answers
40 views

Debugging Javascript inside php file possible?

I am trying to find the way to debug javascript code inside the php file. I have a lot of javascript code embedded inside the php file. I can debug php code using netbeans with the help of XDebug. I ...
-3
votes
0answers
24 views

Let's talk about assembly simulating software [on hold]

I'm a university student and I have some projects in assembly.I want to find a good easy to use simulating software for very simple programs.The microprocessor I want to simulate is ATMEL's ...
0
votes
0answers
15 views

Unable to start debugging. failed to process configuration file - Visual Studio

I'm trying to debug a small assembly program using Visual studio community 2017 and masm32 on windows 10(64-bit). But I'm keep getting this error. In my project, I defined a windows 10 subsystem. ...
1
vote
0answers
31 views

Rust type visualization in VSCode does not work despite setting sourceLanguages

Problem I can't figure how to set up VSCode to properly visualize Rust types while debugging. Every variable is said to be of C type even though I added "sourceLanguages": ["rust"] to my launch.json. ...
2
votes
1answer
37 views

C - Recursive algorithm calculating determinant of a 2D matrix

I want to recursively calculate the determinant of a 2D matrix, according to the definition of cofactors and their use in calculating the determinant. My code is: double **supr_mat(int size, double ...
0
votes
2answers
28 views

LLDB: view real value of the UIModalPresentationStyle enum

While debugging with a breakpoint set for a method of an instance of UIViewController, I decided to check the value of UIModalPresentationStyle. Here's what I got: (lldb) po self....
0
votes
1answer
27 views

cannot fix error “django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.”

Hi I just started my Django project today and during my attempt to python manage.py migrate I got the following error: Traceback (most recent call last): File "manage.py", line 15, in <module>...
-2
votes
0answers
42 views

How to configure python debuggin in Microsoft Visual Studio to debug existing application that have own build in python interpreter

Say I have application written in C++ with builtin python interpreter (boost-python). Application supports plugins writtent in python. Now question is how to setup Microsoft Visual Studio(i use MS VS ...
-3
votes
0answers
25 views
+50

Last Node in TreeView cannot be Selected

I am developing a FireMoney app via Delphi XE3. I find an outstanding bug. After adding two nodes to a treeview control, then add some child nodes to these two root nodes. I find all the nodes in the ...
2
votes
1answer
15 views

Breakpoint does not hit in Nunit Unit Tests

I am facing some kind of weird visual studio behavior I guess... I have done Unit Testing in my application using NUnit, in some Unit Tests I have used NFluent and NSubstitute (to make my UT more ...
0
votes
0answers
15 views

Debug Docker container exited with 0

having the following php-fpm container # php-fpm FROM php:7.2-fpm RUN apt-get update && apt-get install -y sendmail sendmail-bin mailutils openssl git libcurl4-gnutls-dev libpng-dev ...
0
votes
1answer
27 views

View a subsection of an array in visual studio debugger in C#

I am trying to debug a datastream i'm receiving that gets stored into a byte array. The array's length is about 175k though so when i put a breakpoint in and try to unfold the contents in the watch ...
1
vote
0answers
14 views

pinterest url debugger causes redirect loop

According to the pinterest documentation microdata in webistes has to be checked via pinterest's url-debugger at least once before pinterest starts to read it. Unfortunately I'm having some trouble ...
0
votes
1answer
42 views

Debugging csv read in c

I'm having some trouble with a project I'm working on for my master thesis. I got some help from a user here a while back, but the code doesn't quite seem to be working. My application crashes and ...
0
votes
0answers
16 views

Debugging C++ JNI invocation API with Jar files on Eclipse (Ubuntu)

I have some code written in C++ that utilizes the JNI invocation API. The code itself is calling methods from a java library (Jar file) and I do not have the Java source code. My question is how do I ...
0
votes
0answers
19 views

How to link framework without debug info?

The problem is the following: I have an objc app, which requires some third party frameworks. This worked just fine up to the point I upgraded to Mojave. Mojave seems to do some things differently ...
0
votes
1answer
37 views

What this T.11803 () mean in the Tracelog?

Here is my Tracelog, but I couldn't really find any documentation what this T.11803 () is for? Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffe7abff700 (LWP 3441)] ...
0
votes
0answers
23 views

VS Code Python Timeout waiting for debugger connection

Yesterday, before Visual Studio Code updated itself (from 1.27.2 to 1.28.2), I could open it from an anaconda prompt after activating a certain environment and debug a script. Now when I try to debug ...
0
votes
0answers
16 views

Need help getting line from Stack Trace Offset given by Microsoft Store report

Microsoft Store gives me program errors like clr_exception_system.nullreferenceexception_80004003_prog.exe!prog.mainwindow..ctor and for Stack Trace Image Prog.exe Function Prog.MainWindow..ctor ...
0
votes
0answers
13 views

How can I step into the assembly for a function from an Apple .dylib?

In Xcode, when the debugger is stopped at a line that calls an Apple function and I click "Step into", it just skips to the next line. Instead, I'd like to see the assembly of the function that is ...
0
votes
0answers
24 views

React Native Debugger app will not open - debugger-ui opens in Chrome instead

My project is a create react native app project, using expo. I installed the react-native-debugger app a while back to debug redux and it was working fine. Recently, for an unknown reason, when ...
0
votes
1answer
14 views

How to set up one-click debugging for an application with multiple processes in WebStorm?

I have an application that requires a bunch of moving parts to run, and I'd like to set things up so WebStorm can launch all of it. An example of what I need to do: Open a SSH tunnel to the database,...
1
vote
1answer
15 views

Unintended change of value types when debugging

Following problem: I defined a simple unit test which performs some basic calculations with three decimal input parameters. When I step into method GetFxHedgeRelativeInPercentage I observe a parameter ...
0
votes
1answer
29 views

How to debug MPI program before bad termination?

I am currently developing a program written in C++ with the MPI+pthread paradigm. I add some functionality to my program, however I have a bad termination message from one MPI process, like this: ===...
0
votes
0answers
55 views

Why's my game ending when it isn't supposed to?

I'm using redux to handle when the match is a draw in my tic tac toe game. If the board is full and no winner is determined, then the match is supposed to be a draw. But as of now, the match gets ...