Skip to main content
Filter by
Sorted by
Tagged with
235 votes
14 answers
50k views

What are best ways to Debug Clojure code, while using the repl?
Arun R's user avatar
  • 8,392
231 votes
7 answers
75k views

I keep wondering how does a debugger work? Particulary the one that can be 'attached' to already running executable. I understand that compiler translates code to machine language, but then how does ...
ya23's user avatar
  • 14.6k
226 votes
28 answers
139k views

Briefly: Does anyone know of a GUI for gdb that brings it on par or close to the feature set you get in the more recent version of Visual C++? In detail: As someone who has spent a lot of time ...
HappyDude's user avatar
  • 2,616
226 votes
9 answers
754k views

My program operates like this: exe -p param1 -i param2 -o param3 It crashed and generated a core dump file, core.pid. I want to analyze the core dump file by gdb ./exe -p param1 -i param2 -o param3 ...
Treper's user avatar
  • 3,663
226 votes
12 answers
35k views

Visual Studio remembers breakpoints from previous debugging sessions, which is awesome. However, when I'm debugging, and I clear one of these "old" breakpoints by clicking on it, it's only ...
dan's user avatar
  • 9,872
222 votes
10 answers
116k views

I am thinking of creating a debug tool for my Java application. I am wondering if it is possible to get a stack trace, just like Exception.printStackTrace() but without actually throwing an exception?...
corgrath's user avatar
  • 12.4k
218 votes
7 answers
167k views

I ask because I couldn't find the stack trace in Visual Studio, while debugging an exception that occurred.
Even Mien's user avatar
  • 46.2k
216 votes
4 answers
71k views

I've recently started getting this error: 2015-03-23 11:35:48.902 run[60036:1047011] Crashlytics.framework/run 1.3.14 2015-03-23 11:35:48.911 run[60036:1047011] Crashlytics: dSYM Error Unable to ...
Snowcrash's user avatar
  • 87.1k
213 votes
4 answers
66k views

I'm working on my usual projects on Eclipse, it's a J2EE application, made with Spring, Hibernate and so on. I'm using Tomcat 7 for this (no particular reason, I don't exploit any new feature, I just ...
gotch4's user avatar
  • 13.3k
209 votes
16 answers
141k views

From what I have read, there are two ways to debug code in Python: With a traditional debugger such as pdb or ipdb. This supports commands such as c for continue, n for step-over, s for step-into etc....
Amelio Vazquez-Reina's user avatar
207 votes
18 answers
140k views

In Visual Studio debug mode it's possible to hover over variables to show their value and then right-click to "Copy", "Copy Expression" or "Copy Value". In case the variable is an object and not just ...
Farinha's user avatar
  • 18.2k
205 votes
3 answers
189k views

Can I specify that I want gdb to break at line x when char* x points to a string whose value equals "hello"? If yes, how?
341008's user avatar
  • 10.3k
204 votes
14 answers
76k views

I keep having trouble with debugging problems in KnockoutJS templates. Say I want to bind to a property called "items" but in the template I make a typo and bind to the (non existing) property "item"....
RogierBessem's user avatar
  • 2,624
199 votes
5 answers
159k views

If you have 2 functions like: def A def B and A calls B, can you get who is calling B inside B, like: def A () : B () def B () : this.caller.name
Joan Venge's user avatar
  • 334k
197 votes
20 answers
199k views

I have a problem connecting HTC Wildfire A3333 in debugging mode with my Fedora Linux 17. Adb says: ./adb devices List of devices attached ???????????? no permissions my udev rules (first rule ...
XorOrNor's user avatar
  • 8,998
192 votes
15 answers
347k views

I have some variables inside a template and I don't know where I assigned them. I need to know what is inside a particular variable; for instance, say I have a variable in smarty called member. I ...
streetparade's user avatar
191 votes
20 answers
549k views

When loading my page in Google Chrome, I get a vague error in the console: Uncaught SyntaxError: Unexpected end of input I have no idea what is causing it. How would I go about debugging this error?
dlaurent86's user avatar
  • 2,135
190 votes
19 answers
251k views

I've been working on a ColdFusion project for a while now, and Visual Studio started to behave strangely for me. I observed that when I started debugging, it built the project, started the deploy, and ...
arnoldino's user avatar
  • 2,009
189 votes
9 answers
81k views

While debugging Java code, Strings in the views "Variables" and "Expressions" show up only till a certain length, after which Eclipse shows "..." Is there any way to inspect the entire string? (This ...
ragebiswas's user avatar
  • 3,878
188 votes
3 answers
41k views

Previously in 2012, if I debugged in Chrome (for example), and then stopped the debugger, the website would remain running in IIS Express. This no longer seems to be the case in 2013. Is this a new ...
Ryan Peters's user avatar
  • 7,748
187 votes
7 answers
132k views

Given an Exception object (of unknown origin) is there way to obtain its traceback? I have code like this: def stuff(): try: ..... return useful except Exception as e: ...
georg's user avatar
  • 216k
185 votes
2 answers
32k views

This is intended to be a general-purpose question to assist new programmers who have a problem with a program, but who do not know how to use a debugger to diagnose the cause of the problem. This ...
Raedwald's user avatar
  • 49.2k
182 votes
15 answers
210k views

I am debugging a (native) multi-threaded C++ application under Visual Studio 2008. On seemingly random occasions, I get a "Windows has triggered a break point..." error with a note that this ...
user avatar
180 votes
1 answer
98k views

With the C pre-processor it's common to do, #if defined(NDEBUG) // release build #endif #if defined(DEBUG) // debug build #endif Cargo's rough equivalents are: cargo build --release for ...
ideasman42's user avatar
  • 49.3k
179 votes
14 answers
273k views

View layer pattern where you only present what you have been given is fine and all, but how do you know what is available? Is there a "list all defined variables" functionality in TWIG? Is there a way ...
Alexander Morland's user avatar