debugging

How to use debug perspective in eclipse.[debugging java/j2ee applications]

Is there any easy to follow tutorial for debugging Java / J2EE applications in eclipse? A step by step guide on how to check for unchecked and checked exceptions? I have been trying to find on the internet, but to no use. ...

Printing all the queries that mySql generates

I work with Workbench and phpMyAdmin with mySql, I use Procedures and Function etc... Sometimes one procedure triggers another Function and so on... eventually something goes wrong somewhere. Is there any tool known to anybody that can show all the queries mySql runs? Like a command prompt that shows every command MySql runs it would b...

Firebug breakpoints in dynamically generated jQuery?

So Firefox+Firebug seems to be the tool of choice for debugging jQuery. Its certainly very handy. I can get breakpoints in JavaScript code that was there when the page originally loaded (the breakpoint-able lines show up with green line numbers in Firebug). But when jQuery code gets returned by an Ajax call, I can't get breakpoints to ...

How to print debug messages in Firebug Lite (Google Chrome extension)? [solved]

Does anyone know how to log to Firebug Lite Console using a simple PHP method call to print debug messages (something like the Firephp class for Firebug, in Firefox)? Thanks ...

Firebug : How to make net tab persistent?

If I load new web page, the content of the old web page in net tab would all disappear. Is there a way to make it persistent over different web page? PS: I'm using Firebug 1.5.4. Thanks in advance. ...

Tracking down the source code line of a crash from a non-debug built module

Hi I have a widows crash-dump with a call stack showing me the module!functionname+offset of the function that caused the crash. The module is built without debug information using gcc. The cause of the crash is an exception caused by a failed to write at a given address, i.e access violation(05), write violation(01) On my development...

Why won't flash allow me to scroll down any further?

I have a very long vertical line of small jpegs, but I can't get to the end of it to add more or take away some! Any help? ...

Extension Crashing Python on Import?

Hi, I have a python extension that is built and installed through distutils (using mingw on windows). However on import of this module the interpreter crashes. Is there anyway to debug and figure out why it crashes? I did look around online and couldn't find anything specific, or any examples. EDIT Sorry i am trying to compile for py...

How to Use PDB file to debug the application?

I've created a simple winform project, added ClassLibrary with a single method that triggers IndexOutOfRangeException. The form call this library and displays unhanded exception. I build everything in Release mode with pdb files When I run the Exe I get the error reporting window with error info. What now? how do I use PDB file with ...

jquery dialog box debugging with firebug

once jQuery dialog box comes up, none of the breakpoints work in firebug. any ideas? ...

Watching the .net Stack or IL during Visual Studio 2010 Debugging?

I'm trying to debug an assembly that has been compiled in Release mode, so all the "good stuff" like local variables are Optimized away. As a second approach, I would like to see the IL and the .net Stack, but I don't seem to have that option in Visual Studio 2010 - I only have Disassembly, Registers and Memory View, which is one level ...

Run-Time code tracking in Fortran

Hello, I have a big fortran 77 program. when running under certain constants it runs fine. but, when I change that constants it stoped. I can not find where is the problem in the code. Is there any specific software to make a checking for the program during running?? I mean a kind of tracking ...... Thanks in Advance Ghazooo ...

Why PMP (poor man's profiler) don't work on nginx?

There is one very useful gdb "script" called poor man's profiler. It calls this command: gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p $pid It works well for most linux processes, but don't work for nginx web server. Normal output: # gdb -ex "set pagination 0" -ex "thread apply all bt" -batch -p 5286 Using host lib...

C++ view Mutex value in watch window

Hi, is it possible to view the value of a Mutex or Semaphore in Watch winodw in debug mode? ...

Ways to reduce application building/debugging time

My new office project is based on an MVP design and is in VB.NET (.NET 3.5), using multiple libraries (like EntLib, internal corporate framework, etc.). The number of DLLs used as references is so huge (almost 50) that when I try to build/debug the application in VS2008, it takes almost 3-4 minutes to get the website running successfully...

When to use debug vs unit tests?

I'am a little bit confused what is better to use debug or write unit test? and is this general or there are cases where debug better than unit test?or should I use both of them? Thanks ...

Eclipse using wrong build while debugging

I am new to eclipse and java. The way I understand the directory structure is that you have source packages in src/ folder and they are built into the /build folder. It was all working fine until recently. But today I tried debugging after creating a new class and it was throwing ClassNotFoundException when I do F11. On investigation, ...

Project keeps crashing visual studio 2010

I have a project that when i compile it keeps crashing visual studio 2010. It's only that project in the solution, and it seems like it gets compiled, but it crashes. It's a silverlight c# project From the SDK command line tool I can run MSBuild, and the project will compile without problems, without crashing vs of course. When buildi...

chrome debugger what is (program) in profiler?

What is (program) in the function column of the chrome debugger? ...

Zend Debugger on production server

Will using Zend Debugger on a production server degrade the performance of my site? Will it be noticeable? ...