How do I analyze a program’s core dump file with GDB when it has command-line parameters?

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 core.pid But GDB recognizes the parameters of the EXE file as GDB’s input. How do I analyze … Read more

How can I check if a Flutter application is running in debug?

I’m looking for a way to execute code in Flutter when the app is in Debug mode. Is that possible in Flutter? I can’t seem to find it anywhere in the documentation. Something like this If(app.inDebugMode) { print(“Print only in debug mode”); } How can I check if the Flutter application is running in debug … Read more

How to debug template binding errors for KnockoutJS?

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“. Using the Chrome debugger only tells me: “item” is not defined. Are there tools, techniques or coding styles that … Read more

How to execute multi-line statements within Python’s own debugger (PDB)

So I am running a Python script within which I am calling Python’s debugger, PDB by writing: import ipdb; ipdb.set_trace() (iPython’s version of PDB, though for the matter I don’t think it makes a difference; I use it for the colored output only). Now, when I get to the debugger I want to execute a … Read more

Is there a good Valgrind substitute for Windows?

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux – I have no other need or interest in moving … Read more

Eclipse debugger always blocks on ThreadPoolExecutor without any obvious exception, why?

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 wanted to try that). Every time I debug my application, it happens that Eclipse debugger pops out like it … Read more

Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations

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 process <your app>.app.dSYM at path /path/to/<your app>.app.dSYM Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure … Read more