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.

0
votes
0answers
12 views

How to access debugging in rstudio?

I installed RStudio on a new computer and I cannot debug. I cannot see a "Debug" menu(between the Build menu and the Profile menu). I cannot add a breakpoint(click on the line number in the source ...
0
votes
0answers
14 views

Excel crashing problem - How to study why Excel is crashing?

We are doing Excel JavaScript add-ins development and testing. Excel keeps crashing 1-2 times per day randomly. It may crash with action from JavaScript Pane or without it just using other Excel ...
0
votes
0answers
12 views

Pycharm Docker Debugger Unable to Connect to DB in Docker

I am running a PyCharm 2018.2 version. I have my django code running on a docker instance and the Postgres running on another docker instance. My docker-compose.yml file is here version: "2.3" ...
0
votes
0answers
17 views

Facebook returns “This webpage contains a blocked URL”

I've set up an FB app which needs to post on the user's wall. But FB gives this error "this post contains a blocked URL". This is the URL to the debugger: https://developers.facebook.com/tools/debug/...
0
votes
0answers
7 views

how to select python verion when debugging with pydb on DDD?

I can debug any python code using ddd -pydb program.py command. For this debug run, I want to use python3 not pytyon2.7. In my ubuntu machine, I see $ python --version Python 2.7.12 $ python3 --...
0
votes
1answer
18 views

Debugging Vue.js app in Visual Studio 2017

I've created a basic Vue.js app from VS2017 template. Everything is working, but I cannot debug any code. Could You explain why this happens and is there any workaround? debugger
-3
votes
0answers
16 views

Centralized Debugging Tool [on hold]

Which tool is best for debugging my project. I need to identify and start using a debugging tool for all our software projects. Which will covered php, Python, mysql, mongodb.Ex: ELK, intellij-idea, ...
-1
votes
1answer
24 views

Debug Assertion Failed Using Scanf

I'm working on a school project and I have to use the values A and B as ints as well as use %d and %c with scanf. I have to use scanf with disable 4996 to get input however it keeps triggering a debug ...
0
votes
0answers
26 views

Why's my Redux states' behavior very strange based off the outputs in the console?

Why's my redux behaving the way it is based off the console output? The intention of my code is for the user to input text into 3 boxes which then gets stored in Redux states in mapStateToProps. ...
-2
votes
0answers
25 views

What is causing the termination of the code due to time in the program given? [on hold]

Aim: To find the least k, such that k%b[i]==a[i] for all i from 0 to (n-1) [array index]. This doesnt work for 1 test case alone, where it crashes due to time limit exceeding. #include <stdio.h>...
2
votes
2answers
55 views

Does Debugger.Break have any side effects?

System.Diagnostics.Debugger.Break(); // this DB call has not been mocked I'd like to place these in code at the site of I/O calls to let unit test developers know when they haven't properly mocked ...
0
votes
0answers
13 views

Rest service in a java maven project in netbeans 8.2 : how to debug it step by step?

I have a problem: I developed a rest service, in java, as a maven project . I used jdk 1.7 and netbeans 8.2, and I used (in local) the application server wildfly 8.2.0 . I am in linux 64 bit ...
0
votes
1answer
9 views

MSVC showing “No disassembly available.” for anything compiled out of MSVC

Using MSVC 2017 I'm using Attach to process to a compilation I made from console using MSVC or CLANG (I'm compiling the asm code the compilers generated). Whenever I break the program I only get "No ...
0
votes
0answers
9 views

Debugger tool and code formatting tools for windows

Is there any Debugging tools specifically for following: To find bug from the code automatically. Code formatting tool: which automatically rearrange code in a proper structured format if you don't ...
0
votes
0answers
5 views

How to debug copied javascript files

I have some website with javascript file in a windows service project that I want to debug. I have also a post build event in that project which copies that JS file to \bin\Debug directory and the ...
0
votes
1answer
7 views

Visual Studio: Debugger shows numbers in 16th numeral system

Why in debug mode, when I point the cursor at a numerical value, it shows me this value in 16th number system? How can i change this?
2
votes
2answers
42 views

What is the best and easy way to remotely debug a python code running in a docker container?

I have just started working on python. I want to debug python code that is running in a docker container. Can anyone please suggest me what could be the best way to remotely debug this? I am open to ...
0
votes
0answers
11 views

NuGet/MyGet debug throws source code not found error

We are trying to adapt Nuget package way for our project. All is well till we hit debugging problem. Here is the situation: Created New project and created nuget package with symbols Pushed both ...
0
votes
0answers
4 views

Vectorcast : check current test pass/fail status while debugging

Since Vectorcast can tell me at the end of a test run whether a test has passed or failed, I imagine that it has a global variable which holds the test status. If so, can anyone name it? It would be ...
0
votes
0answers
11 views

Ionic 1 app on iOS, when multiple apps open it is using/absorbing first apps pages

Has anyone ever seen this before? Please see attached video from google drive. (was too large to upload as a gif) https://drive.google.com/file/d/1R_DFPwehqHiLL6AnV-9-gvj5njV_2UiH/view?usp=sharing ...
0
votes
0answers
16 views

dlv attach <pid> [binary location] gives access denied

I am trying to attach delve golang debugger to my go program which is already running on my "Windows" 7 machine. when i say dlv attach [binary location], it says "Could not attach to pid : Access is ...
0
votes
0answers
19 views

I need understand of why this progam is producing nothing on output

all_words = sorted( set([word.strip().lower() for word in open("/home/jermaine/cs3180cl/words.txt").readlines() if len(word) == 7])) def is_anagram(one, two): if len(one) != len(two): ...
0
votes
0answers
9 views

Allow extensions using Debugger for Chrome

I am using the extension Debugger For Chrome on Visual Studio Code. As you know, it starts a new Chrome instance, without any extension. Is there a way to allow Chrome extensions on that instance?
1
vote
2answers
31 views

Why's my input box behaving in a weird way in terms of user input?

I'm confused as to why I can't type anything in <input onChange={this.handleArticleId} value={this.props.articleIdValue} placeholder="article id"/>. If I do type something, and click submit, ...
-3
votes
0answers
46 views

Why does String.substring return empty string when I step into this method with debugger? [on hold]

Update: this question was actaually an IDE bug, where it showed a non-empty string as empty in variables view. Reported it to IDEA bug tracker https://youtrack.jetbrains.com/issue/IDEA-199602 I ...
0
votes
1answer
18 views

Android Emulator cannot connect to React-Native remote debugger - Timeout while connecting

Im trying to connect to the remote debugger using Android Emulator (Pixel XL API 28) and regardless of attempts I get the error message: Unable to connect with remote debugger Timeout while ...
0
votes
1answer
32 views

Debugging Python in VS Code in Windows

I have VS Code installed on my Windows machine with the Python extension. I have also installed Windows Sub-system for Linux (Ubuntu) so I have the Bash shell available. I am experimenting with ...
1
vote
0answers
19 views

Testing Typescript with Jest in Visual Studio code does not show proper source code lines

I have tried to get Jest to run properly in Visual Studio code. While I can debug Typescript without an issue, I am unable to get to the proper lines on included functions with Jest. I have a test ...
-1
votes
0answers
47 views

MSVC++ debugger doesn't handle some C features

I started to study the code of a certain open source C project (SoX, to be more specific) and discovered that unfortunately MSVC++ 2015 debugger doesn't handle correctly some peculiarities of C ...
0
votes
1answer
35 views

Debug.Print not printing the correct value of a variable

I have a macro that moves some data around in different spreadsheets and I have been trying to figure out why my Debug.Print is not printing the long data. It prints the string but wont print the long....
-1
votes
0answers
42 views

Eclipse detail formatter for TreeMap in Java 10

The question is about using Eclipse's feature "Detail Formatter" in "Variables" view during debugging. I cannot figure out how to write such formatter for my TreeMap containers in Java 10. Here is a ...
0
votes
1answer
38 views

How could I save user entry inside a state in Redux?

I need to fire the action to update storyTextValue inside StoryTextReducer so I can use it as this.props.storyTextValue in SearchArticle. In other words, in CreateArticle upon the user typing in <...
0
votes
0answers
12 views

How to use consumer_key and consumer_secret in a post request to API with Fiddler?

I want to send a post request to an API using Fiddler for a new customer creation. My problem is that I can't figure out how to use the consumer_key and consumer_secret with my post request. I need ...
3
votes
3answers
47 views

GCC Optimization and debugging

I don't understand exactly the following: When using debugging and optimization together, the internal rearrangements carried out by the optimizer can make it difficult to see what is going on when ...
0
votes
0answers
11 views

Equivalent of .reload /f in CLRMd

In CLRMd, is it possible to force the debugger to load (and fetch if necessary) all the symbols required in a memory dump? Ideally, using the CLRMd API as opposed to executing .reload /f on the ...
0
votes
3answers
40 views

Java Error message. unexpected type, required variable, found value

I am doing a debugging exercise for one of my courses. I have found and fixed all but one error in the code. I have to fix this one error: int input, x; if ((input % 2)= 0) // <- this is the ...
1
vote
0answers
34 views

Unable to hit breakpoints when debugging python with pyCharm after method in arcpy

I'm using PyCharm 2018.2.4 with Python 2.7. and trying to debug my code but I'm unable to hit any breakpoints after my script reaches the arcpy.ExcelToTable_conversion method (and finishes it ...
0
votes
0answers
3 views

Enabling postmortem debugging on Windows 10

With older Windows versions, when an unhandled exception occurred in an application, the user was given a choice of running a postmortem debugger and possibly resolving the exception. It was even ...
0
votes
0answers
36 views

Does Cygwin have any “address sanitizer” tool at all (NOT necessarily “libasan”)? [duplicate]

I like to program using gcc and g++ on Cygwin on Windows 10. But although man gcc presents the "-fsanitize=address" option, it doesn't seem to actually work. I get "cannot find -lasan". And searching ...
0
votes
1answer
30 views

WebStorm Node.js TypeScript Express debug stuck on connecting to localhost

I'm trying to debug my TypeScript Express app using WebStorm. I have this debug script in package.json "scripts": { ... "debug": "node --inspect-brk=9229 --require ts-node/register -r ...
0
votes
0answers
10 views

AttributeError at /process-ckt-schematics/4/ 'ProcessCktSchematics' object has no attribute 'branch_map'

Environment: Request Method: GET Request URL: http://127.0.0.1:8000/process-ckt-schematics/4/ Django Version: 2.1.1 Python Version: 3.7.0 Traceback: File "C:\ProgramData\Anaconda3\envs\myppe\lib\...
0
votes
1answer
7 views

Salesforce debug logs: hide managed package lines

When I try to debug my work using the debug logs on Salesforce, I endup with hundreds of lines like this - see below, which overflow my debug logs capacity and ending up with me not able to see the ...
0
votes
0answers
12 views

Android Studio Debugging External Fingerprint Application

I am writing an Android application using U.are.U 4500 fingerprint reader, so, my question is: how can I debug such an application? I have device USB port busy (fingerprint is connected to), is there ...
-2
votes
0answers
62 views

Windows form sizes not matching when designing and debugging

I have very big problem which I can't solve. This is the designing time screen click here. And this is in debug time click here. Guys please help me solve this. My windows form is not matching in ...
0
votes
1answer
19 views

How do I display only the text user has written from component to another?

After I'm done creating an article via CreateArticle component (which works fine), I want to display only what the user has written (its value) in <textarea value={value}> in the SearchArticle ...
1
vote
2answers
62 views

How to find what called a thread

In the Eclipse debugger, I see in the stack trace many calls to Thread.run. The steps never go beyond that. How do I find out what method in our code started the thread? Right-clicking does not ...
0
votes
0answers
32 views

Android Studio 3.2 cannot debug when including native code as part of project

Using Android Studio 3.2, I have created a new, default, project which includes c++ support. When I run, non-debug, the application on my android device the application runs. No problems with run. ...
0
votes
0answers
11 views

Slow watchos debug install on real device

Every time I make a small change it takes me more than 4 minutes to install an application from Xcode to my apple watch.Copying swift librairies for instance takes forever Is there a special set up ...
1
vote
1answer
31 views

How to name a DataFrame in Spark to make the DAG diagram easier to read?

In Spark, the DAG diagram can get quite complicated after a few joins, for example: Is there a way to make it more understandable by, first, naming Spark datasets, and seconde, tagging each stage ...
0
votes
1answer
23 views

How to enable breakpoints of current file only in Visual Studio?

For example, I am debugging a project that contains several source files where I already have breakpoints. During debugging I once disabled all the breakpoints from debug menu (Debug -> Disable All ...