debugging

I have DevExpress 9.1 source code, and I want to debug in it, how to do it ?

Hi everryone, It took me two days to try to build the DevExpress source code to make debugging. But can not do it, anyone know how to debug the DLL which is not? MQ ...

Does playing a Program from VS2005 cause a program to work any different than the .exe file?

There is a program where I work that works fine when running the .exe file but works differently from expected when opened in VS2005 and played from there. I am therefore asking on here if anyone knows of anything that would work in the .exe file but not the debug from VS? I am not able to post the code for the buttons I'm talking about ...

Temporary debug releases and final application releases

I have a quick question regarding debug and release in VS 2008. I have an app i've been working on - its not yet complete but the bulk of the functionality is there. So basically i'm trying to give a copy of it now to the person helping with documentation - just so they can have a play and get the feel for what i've made. Now the quest...

Can we use assertion for testing purpose in web application ? Give example also.

Since we can easily disable and enable assertion as per our requirement. So I want to use assertion in struts action class for unit testing. Pls provide example also. ...

How to enable BDS2006's C++ WARN & TRACE macros.

I am trying to find out how to enable (& use) Borland's WARN & TRACE macros. My starting point was this link: http://bcbjournal.org/articles/vol2/9809/Debugging_with_diagnostic_macros.htm?PHPSESSID=37bf58851bfeb5c199d1af31d7b2e7ff However, that appears to be for BCB5, and not the 2006 Borland Developer Studio. I've set the two define...

How to debug C program

Hi, I am using linux, gcc, c. I have a make file. I want to debug my module. How can I do it? I don't want to debug a single file, I want to debug the whole module. ...

Visual Studio Stop Debugging on IE Close - WebSite?

Hi all, Would like to know if there is a setting anywhere which causes debugging to automatically stop when IE closes, and also if there is a way for this to work the other way around and IE to close if debugging stops. I know that this works when the project type I'm working on is a 'Web Application', I'd like to know if the same func...

How to debug a bundle in XCode?

I wrote a nice little program. At some point, it is required to load a bundle with some additional functionality. I, too, am the author of the bundle, so I have the source code and Xcode-projects for both the main application and the bundle. Until now, I simply dragged the bundle into the resources-folder in the main application, which ...

C++ standard input from file when debugging from IDE

I'm using VS 2010, and I'm wondering how I can get my c++ program to read a file using standard input while debugging. I know how to do it from command prompt, but not when debugging. Basically I want it to read in a file with cin>> instead of me typing stuff - but in debug mode. ...

Visual studio execution trace

I have a set of web services in asp.net Is it possible to get a trace or log for all functions invoked during a service invokation, without modifying the source code itself. ...

Session persistence problem

Hello I'm having a problem with getting sessions to persist, and having no luck searching, I need to ask. I can access the contents of my session as expected when first set, but as soon as the page refreshes I lose everything and I don't see why. session_start() is set and I'm not unseting or destroying anything. I looked at PHP Info u...

Javascript problems?

I've been staring at the source code of these two download pages for awhile now and i can't seem to find the problem. I have two download pages, one where the javascript is working, one where it isnt. working: http://justupload.it/v/lfd7 not: http://justupload.it/v/ljhv The working one allows me to rotate the image and reveal the comm...

Is there any difference between SQL running in code vs the MySQL command line?

I have a SQL update statement I am running from inside a PHP program. It is prepared and then executed. When I run it in PHP, it reports a constraint violation. When I run the exact same statement from the command line (which I am getting via dBug()), it works with no errors. This sounds impossible, so I keep looking for differences ...

Script Debugging in IE

Hi Folks, I'm really interested which way you guys use to effectivly debug a large (let's say 1000 lines and more) javascript in IE7/8/9. I'm so sick of reading a message like 'error in line 9328789237498" or "line 1" which totally makes no sense. No error description. There must be something like Firebug? please? :) Kind Regards --...

How can I debug why this click handler never fires?

I am going to be excrutiatingly detailed here. I am using Firefox 3.6.3 on Max OSX with Firebug 1.5.3. I have two versions of a project, one which works and one with a bug. One I downloaded and one I typed by hand. Take a guess which one doesn't work. They should be the same except that mine uses a newer version of jQuery and the ...

an emacs command to open a new instance of emacs

How can I make a cross-platform emacs command that opens another instance of emacs with -q option? The reason why I need such a command is that it would be easy to modify the command to make it open another instance of emacs with -q and -l option so that the new instance loads an el file that I am editing with the old instance. ...

how to configure xdebug.file_link_format for eclipse PDT?

I am using xdebug with eclipse (on OSX). I think I remember reading somewhere that it was possible to link the error output (or the Call Stack) to a text editor (like Textmate). I was wondering if its possible to do the same thing for Eclipse. EDIT: I found out that what I would like to use is the xdebug.file_link_format setting. For...

how to add a user to the event log to log errors

Hello everyone, im just wondering how to add my service account for my asp.net application to the event viewer so it can log events and errors directly to the event viewer. thanks for any help provided :) Adam ...

How do I write x86 Debug registers from user space on OSX?

I'd like to play around with the debug MSRs defined in the x86 spec (DR0-7) from my OSX user-space program. Unfortunately, these require CPL == 0 (aka ring 0). I've thumbed through the OSX syscalls and with the exception of kernel_debug nothing really jumps out as a way to access these. It may be the case that they are only available vi...

How can I connect to Android with ADB over TCP?

I am attempting to debug an application on a Motorola Droid but I am having some difficulty connecting to the device via USB. My development server is a Windows 7 64bit VM running in HyperV and so I cannot connect directly via USB in the guest or from the host. I installed a couple of different USB over TCP solutions but the connection a...