debugging

SQL MS Access - Invalid Use of Null

I have now got rid of the overflow on this query by forcing to a long but now I get Error 94: Invalid Use of NULL Can anyone tell me what the problem could be? SQL Query: Sum(CLng( [TotaalPrijs]/([tbl_ArtikelsPerOrder]![Aantal]*[Totaal])* [tbl_ArtikelVerwijderdUitZaaglijst]![Aantal] )) AS GezaagdeOmzet ...

Tool to Debug Guest OS in Virtual Box

I'm just cross posting the same question I did on virtualbox.org. http://forums.virtualbox.org/viewtopic.php?f=9&t=26702&p=119139#p119139 If not breaking any rule, I'd appreciate to kwon more about it since stackoverflow promisses to be more dynamic! "Hi, I did some search and could not find any tool to debug a guest system fro...

Using XDebug to trace a PHP web service page

I'm using Eclipse and XDebug to develop a PHP application that relies on web services. I have test pages that consume my services in 2 ways: AJAX (using jQuery) and cURL. I add breakpoints to my service page and launch the debugger. When I call the the service from AJAX, execution stops nicely at the breakpoint, and I get my variables, ...

Interactive pyDev console at breakpoint

I'm using Aptana Studio with Pydev 1.5.3 to debug my Django applications. I use PyDev's remote debugger and some code in manage.py and for most of the time this setup is working successfully- I can set breakpoints, inspect variables and step/continue through my code. However, I'd like to execute arbitrary code at the breakpoint- the th...

VS2010 Beta 2 "Start new instance"

In VS2008, when I have a web service and a client of that web service in the same solution, I can debug the client by first selecting Debug / Start new instance on the web service project. That launches the web service in the debugger and opens my default browser to show the root directory of the web service. When I close the browser, ...

How do I decipher garbled/gibberish characters in my networking program

I am working on a client-server networking app in Java SE. I am using stings terminated by a newline from client to server and the server responds with a null terminated string. In the output window of Netbeans IDE I am finding some gibberish characters amongst the strings that I send and receive. I can't figure out what these characte...

stored procedure

hi..i wanted to know if there is a possibility to debug stored procedures in mysql..engine type = InnoDB ...

MS Access Overflow - Not resolved

I have the following expression in an MS Access Query, where some of these values can be null and despite the cast to a Decimal and the Not Zero (NZ) function, I still get an overflow error. I hope someone can help me find the bug? Sum(Cdec(Nz([TotalPrice]/([tbl_ArticlesPerOrder]![Amount]*[Total])*[tbl_ArtikelRemoveFromSawList]![Amount...

How to debug and solve a 'DisconnectedContext' crash?

I have a GUI app which connects to a sensor, gathers data and processes it in the background using BackgroundWorker threads. As it stands I'm posting data to the GUI using the ProgressChanged which seemed to be working well to begin with. I've since upped the data rates and have discovered a problem; if the software is left to run for a...

How do I stop Visual C# 2005 crashing when debugging on a windows mobile device?

I'm attempting to debug a .NET Compact framework C# application on a Windows Mobile 6 device using Visual Studio 2005. If execution reaches a breakpoint I have previously set, 9 times out of 10 it crashes. If it doesn't crash first time, that breakpoint will continue working correctly, even through multiple executions of the application....

Debugging a big double array.

Hello, I am using a C++ library that provides an object that, for the sake of simplicity, is more or less like this: class ExampleSO { public double* narray; }; I have an instance of ExampleSO whose narray is about 200. Some other method ExampleSO::method() does a lot of arithmetic functions with this array and assigns it to diff...

Debugging an IEnumerable method

Hi everyone, I have a method with returns an IEnumerable<T> and I'm trying to debug the code inside that method. Each time I step through the code in Visual Studio during debug, it steps over the method in question. When I place a breakpoint inside the method it never gets hit. The code is definately running as I've tested by yield re...

Why have separate Debug and Release folders in Visual Studio?

By default, of course, Visual Studio creates separate bin folders for Debug and Release builds. We are having some minor issues dealing with those from the perspective of external dependencies, where sometimes we want release binaries and sometimes debug. It would make life slightly easier to just have a single bin folder on all projects...

Is there a way to *completely* disable Edit and Continue?

I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making add-ins for Excel, which is 32 bit. The result is that even though I target 'AnyCPU', the VS ...

How do I get Eclipse to get all of my resources on Tomcat's classpath?

I am having a devil of a time getting Eclipse to run my webapp on tomcat with the classpath correct. I have some spring configuration that references property files at classpath:/whatever.properties - these properties files live in my web project at src\main\resources, and I can see that they get deployed to the WEB-INF\classes folder, ...

Flex: time how long HTTPService takes to load?

I am loading some XML with HTTPService in Flex. It is taking longer than I would like to load. So I want to do some trouble shooting, but in order to tell what is making a difference I need to be able to time the requests and how long they are taking. What is the best way to time an http service to see how long it took from HTTPService....

Objective C/iPhone : need "best practices" for debugging memory management bugs

So... I've written my first iPhone game, that consists of maybe 50 puzzles. At the start of each puzzle I create some strings, various mutable arrays of pointers, some of which point to runtime created subviews. All retained variables are declared as various class properties. Then at the end of the puzzle I remove the subviews, release...

How to debug with external program launched from .bat not an .exe in VS2005?

Hi, In the debug properties of my c# project I have selected Start External Program and selected the .exe of the program I wish to attach the debugger to. However, now I need to launch the program from a .bat file not the .exe but VS2005 does not seem to allow this. Is this possible? EDIT: To clarify, I need to debug the .exe that gets...

SSRS Expression Error, how to debug?

Hi, Is there any way to properly debug a VB cell expression within an SSRS report? I'm getting an #error coming up when I'm convinced the data is fine for the expression. The expression is: "Total Opportunities ("+SUM(IIF(Fields!OpportunityEstValue.Value > 0, 1, 0)).ToString()+")" Within the data being supplied the OpportunityuEstV...

How to debug an App on Android with GDBSERVER?

I'm trying to debug a native shared library that my App uses through JNI. I can attach to a running app just fine with "gdbserver --attach pid" but i need to actually launch my app when i launch the gdbserver command. There's a million blog hits on this topic but none of them seem to be clear as to how you launch your app. They all say ...