Latest Questions tagged Debugging

Browse all latest questions tagged Debugging

81
Votes
Published 26 Oct, 2022
Java - How to find where a thread was originally started

Supposed I have an application that can spawn multiple threads if needed for doing tasks ... so nothing special. I use Eclipse to write and debug Java applications. A thread (lets call it "async task"...

9
Votes
Published 22 Oct, 2022
Java - How to debug a command line compiled Java .class file using Eclipse IDE?

I'm a programmer with strong C++ background, but new to Java world. Now I have a question about debugging. How to debug a pre-compiled Java .class file using Eclipse IDE? And I find it is really not...

145
Votes
Published 24 Apr, 2022
Javascript - Using Chrome, how to find to which events are bound to an element

Lets suppose I've a link on my page: <a href="#" id="foo">Click Here</a> I don't know anything else, but when I click on the link, an alert("bar") is displayed. So I know that somewhere...

314
Votes
Published 16 Apr, 2022
Javascript - How to quickly and conveniently disable all console.log statements in my code?

Is there any way to turn off all console.log statements in my JavaScript code, for testing purposes?

65
Votes
Published 15 Sep, 2022
Java - IntelliJ IDEA 13 debugger don't stop on breakpoint in java for maven project

I have a breakpoint on a line where is the System.out.println("test") command. I believe that the command is reached by execution because I see the printed string "test". But the breakpoint is ignored...

93
Votes
Published 25 Jun, 2022
Reactjs - How can I debug webpack bundle file error and find exact error in bundle that consists thousand no. of lines in reactJs

I want to find exact error in my program, where is error occurring in real time. I have been facing problem to detect error as It only shows bundle file that have thousand no. of lines. That is next t...

29
Votes
Published 24 Aug, 2022
Python - `DummyExecutor` for Python's `futures`

Python's futures package allows us to enjoy ThreadPoolExecutor and ProcessPoolExecutor for doing tasks in parallel. However, for debugging it is sometimes useful to temporarily replace the true paral...

17
Votes
Published 30 Jul, 2022
Jquery - Uncaught Error: Cannot read property 'top' of null

Ok, so I've worked through a number of bugs in the following short script. You can see a working demo here: http://jsfiddle.net/XG24G/2/ Sorry for giving such an expansive context here, but when I p...

14
Votes
Published 16 Apr, 2022
Javascript - [Vue warn]: Error in nextTick: "NotFoundError: Failed to execute 'insertBefore' on 'Node'

I'm receiving the following error messages in my Vue web app occasionally but when it does happen, it completely halts my app. Error msg 1: [Vue warn]: Error in nextTick: "NotFoundError: Failed t...

30
Votes
Published 08 Aug, 2022
Python - Interactive debugging in IPython (Jupyter) notebook

For debugging my python code, I use the ipdb library, and use the set_trace() command to place a break point. Once the code reaches there, I get an interactive shell with ipdb> prompt, that I can e...

181
Votes
Published 31 Jul, 2022
Python - How do I run a Python program?

So I'm starting like Python a bit, but I'm having trouble erm...running it. Lol I'm using IDLE for now, but its no use whatsoever because you can only run a couple of lines at a time. I'm also using...

15
Votes
Published 20 Aug, 2022
Python - Memory dump formatted like xxd from gdb

I'm trying to inspect a buffer which contains a binary formatted message, but also contains string data. As an example, I'm using this C code: int main (void) { char buf[100] = "\x01\x02\x03\x04S...

15
Votes
Published 21 Jun, 2022
Python - How to find out where a Python Warning is from

I'm still kinda new with Python, using Pandas, and I've got some issues debugging my Python script. I've got the following warning message : [...]\pandas\core\index.py:756: UnicodeWarning: Unicode e...

85
Votes
Published 09 Aug, 2022
Jquery - Script working only on page reload

I'm using jQuery to align images on an horizontal view website, but the script only works when I reload the page. http://joliannelm.steveforest.com/edition/roux-de-service.html The script is called...

35
Votes
Published 09 Aug, 2022
Java - how to debug spring application with gradle

I am working on spring app and need to step through a controller method to see how it works. I am working in eclipse and building my app with gradle bootRun command. How to run it in debug mode? i...