debugging

Debugging windows services

I have created a windows service and installed it manually. Later started the service from Services tool. Now I want to dubug the windows service application from Visual studio IDE. When I try to attach the process from Debug tab in the IDE, the windows service process is shown in the list, but it is not highlighted to be attached. Is t...

Debugging in IE

I've got this weird bug. The progress bar in IE's bottom-window status bar keeps incrementing very slowly after an Ajax POST. At least that's where I think the problem is. How can I tell what the hell IE is doing that's causing the progress bar to keep going? In FireFox, I would just look at the Console tab in FireBug and see what's up....

Why can't I attach to the w3wp.exe process when I turn off Just My Code in VS2010?

I'm using VS2010 Beta 2 and I turned on .NET Framework source stepping, so I had to disable 'Just My Code'. But now the w3wp.exe process doesn't show up in the list of processes I can attach to. I've got both show all processes boxes ticked. Is this a bug or am I missing something? ...

What is private bytes, virtual bytes, working set?

I am using perfmon windows utility to debug memory leak in a process. Perfmon explaination: Working Set- Working Set is the current size, in bytes, of the Working Set of this process. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are...

Profiling C++ with Xcode

Hi, is it possible to profile C++ apps with Xcode so one gets; memory leaks like with valgrind possible errors before running the program Thanks, I am very new to mac and xcode Where can one find a good tutorial for this? ...

debugging problem in xcode

I'm having a problem similar to [this question][1] http://stackoverflow.com/questions/1449072/debugging-problem-in-x-code-iphone-development I have created an application, but when i try to debug it, the breakpoints are created i yellow.The only difference from the above link is that, a message is shown in xcode status bar that GDB:Wa...

HTML/JS Debugger

We are searching for an HTML/JS debugger specifically suited for IE that can handle popup windows as well. We tested Firebug Lite which is good but it has its restrictions when compared to Firebug. We also tried IE Companion but there are some problems when it comes to in-place editing and popups. Do you recommend a good debugger? ...

How to debug asp in VS 2008 SP1

Hi everyone, as the title says my question would be how to debug old asp code in VS2008 SP1? thanks in advance ...

VC9 display details about the exception that just occured.

I'm debugging an application in visual C++ 2008 express. An exception occurs so the debugger breaks and waits for my instructions. How do I view the details of that exception, as an object, just like other stack level objects in the auto and local windows. For instance, in my immediate case its a std:exception. So chances are it has so...

How do debug in Eclipse when an object is invoked?

Hi, I have just started with java development using Eclipse, when I was debugging this part: object.methodInAnotherClass(parameters); The debugger stopped, I understand this won't skip to another class and start debugging that, but what is the other way I can debug my another class? The same problem is also in CORBA. So, what is th...

satchmo can't handle 500 error

If the quantity of the product is a Unicode character, I get UnicodeEncodeError at /add/. When I set DEBUG = False, the satchmo can't handle 500 error,it can't return an HttpResponse object, but the handler404 is ok. I find the following in the apache error log. [Thu Dec 31 23:05:31 2009] [error] [client 192.168.123.124] mod_wsgi (pid=1...

How can i debug code that invoked with java reflection?

I hava an application which deployed on J2EE application server , inside the application there is implementation of class loader loading jar files into the JVM, inside those jar files there are Test Cases which implements common interface, by java reflection i dynamically invoke (by name) those test cases, the problem is that is like a b...

Trace java application at runtime

Hi I'd like to trace a java application at runtime to log and later analyze every its behaviour. Is there a possibility to hook into a java application to get runtime information like method calls (with parameters and return values) and the status of an object (i.e. its attributes and whose values)? My goal is to get a complete under...

debugging flash authored content with the flex debugger

I am working with a project that is developed in the flash environment, but I love the flex/eclipse debugger in that i can throw a breakpoint in and inspect the vars that are present. Is there a way that I can debug flash in the flex environment? I have (of course) googled the subject and found that there are several posts on the topic ...

Different outputs after debugging and compiling C++ programs

I'm running CodeBlocks on the MingW compiler in an XP virtual machine. I wrote in some simple code, accessible at cl1p , which answers the algorithm question at CodeChef (Well it only answers it partly, as I have not yet included the loop for multiple test cases. However, my problem is, that while running it in debug mode, it gives the ...

Unknown com_exception error

I'm writing an extension for the Yii framework which I have asked on here about before and someone is reporting the following error: com_exception Description Source: UnknownDescription: Unknown Source File C:\wamp\www\yiisample\protected\extensions\gallery\EGalleryBase.php(364) They are using WAMP 5, PHP Version 5...

why are my methods overwriting self values and passes arguments even after I copy them into new instances?

So im working on programming in objective c 2.0 book, and I'm working on a method to subtract 1 fraction object from another, I have the algorithm and everything set and it does work, but in going through the process (debugging) i found that even though i was copying the fractions into new instances so I wouldnt mess with the values in t...

windbg 6.11 doesnt work properly, and didnt load my pdb file. the old version works

i wrote a masm test program, compiled it with ml /c /coff /Zi then linked with link /debug /subsystem:console /entry:start test.obj kernel32.lib it works after compile/link . now , i just open the windbg 6.11, load the exe then press F10 twice, it doesnt show the source code. and the test.pdb is not loaded. my symbol path include the ...

Debugging with Zend Studio / Eclipse

Hi, Is it possible to debug PHP scripts so that it keeps running until an expression is true? For example, I want to know when $a becomes a certain value. I don't want to keep pressing step into and wait until the variable $a changes the value to it. ...

Strategy for external javascript framework debugging

Working with Extjs, GeoExt and OpenLayers, I more and more tend to run into problems which do not result in direct javascript errors (in either IE, FF or similar). It could be features not working, unexpected behaviour and so on. My usual strategy is to strip down code to a minimum hoping to discover where the problem arises - Firebug a...