I have a .h file which is used almost throughout the source code (in my case, it is just one directory with. .cc and .h files). Basically, I keep two versions of .h file: one with some debugging info for code analysis and the regular one. The debugging version has only one extra macro and extern function declaration. I switch pretty re...
Just wondering if somebody could suggest the quickest tool for the situations where you know somebody committed some invalid XML and you want to find it really fast.
Right now I've been using XML Copy Editor.
Any other suggestions? I will eventually put validation commit hooks to prevent people from committing invalid .xml files.
Tha...
I have serveral ASP.NET web sites running on a web server with IIS. All sites work fine when accessed with browser.
Recently I wrote a simple .NET application that tests the availability of the sites, via making simple HttpRequests. This application return 404 error for some of the sites, even though sites can be accessed via browser. F...
I have a connection that should recieve a heartbeat every two minutes.
However occasionally something happens and the network goes bad. For some reason Solaris believes that the connection is still alive, No IOException is raised locally, however one is raised remotely.
I have set a timeout on the socket, and when debugged from a Windo...
I wish to debug executables for which I have no code, using the Delphi Debugger.
WinDBG and other debuggers are no option in this case, as the given executables all call into my DLL, for which I do have code, obviously. My ultimate goal is, to see a stack-trace right down into the functions of the running executable.
I do have symbol-...
I have this Windows Speech Recognition (WSRMacro) script which compounds multiple words that are spoken into a single word:
"Happy children"
-> "Happychildren"
However, a bug in the script appears under certain circumstances and I do not know how to deduce what the problem is. Although the above example works, the following does not:
...
I am new to Visual Studio 2008, and I am learning the old "Hello World" application using a WPF application. When I click 'Start without Debugging' I see a window open for a half-second on my taskbar, and then close. I dont get any window that stays open with my application in it. I cannot figure out why this is happening. If I trying op...
I am putting a break point in a winforms application inside a function like
public void FillOutListViewCtrl()
{
// code to be debugged
}
I put a breakpoint here. After running the application I just want to know what exactly is going on inside of this function. Is there any way to go to this function directly? Do I need to attach ...
I have a variable
char* x = "asd\nqwe\n ... "
and I want to print it with newlines printed as newlines not backslash n.
Is it possible?
...
Hello
I am using Visual Studio 2005.
I am using SetUnhandledExceptionFilter to call my custom exception filter function when some unexpected error will happen. My custom filter function is called only if the unexpected error is Operating sytem error like Access Violation.
When the exception is C++ exception , raised with throw, my cust...
I just want to dump core without stopping the program.
This would be essentialy serializing a whole state of the program.
A very convenient thing for debugging later.
Is it possible under linux?
...
When I try to run a opencv hellow world program I get an error saying that the cxcore110d.dll file is not installed and that I need to reinstall the program, but the dll is C:\Program Files (x86)\OpenCV\bin. Any one know who to fix this? The folder is referenced (maybe thats the wrong term) in the solution that came with opencv 1.1.
...
Using the SQL Server 2008 debugger, how can I see the contents of a local table-valued variable in a stored procedure? In the locals window its value is listed as "(table)", but I can't see the contents. I saw some references to an "Immediate" window at http://www.sqlservercentral.com/articles/SQL+Server+2008/64354/ (note registration re...
I have app that uses two threads: one thread for regular application work and another that does some background processing. When I debug my app and have a error message displayed I click pause to get to the line when this error ocurred.
But unfortunately I'm redirected to current line of the second background thread.
My question is: ho...
Almost all of the time, if there's a bug, it's Your Fault™. But sometimes, it really is a bug in the API/OS. As iPhone OS is relatively new (especially 3.x) there are always a few bugs to look out for.
I think it would be a good idea to compile them in a list. If you know of any, please list them, along with which versions are affected,...
I am using Opera on a Windows PC and developing for a device. I can telnet into the device and manually run the browser which gives me the browser output.
Is it possible to trace messages into both Dragonfly and the Opera console? I can see a window.alert() message show up in the console, but I would also like to trace messages for simp...
Hi,
I am running release version of the app on the iPhone, it works fine. There is no error messages in the XCode debugger:
Running…
Switching to thread 11779
Switching to thread 11779
sharedlibrary apply-load-rules all
(gdb) continue
Switching to thread 12291
Switching to thread 11779
Switching to thread 13059
Debugger stopped.
Progr...
Years ago I read a tutorial about the Windows DEBUG command.
The article also described how the tool could be used to restore a deleted file.
Could anyone give me a hint on how that was done?
...
I'm using Eclipse 3.3 and Android 1.6. I installed DDMS on my Eclipse and tried to insert breakpoints as in tutorial https://www.ibm.com/developerworks/library/os-ecbug/ . However, as I run my project, the program won't stop when it reaches the breakpoint. Is there a bug in Eclipse or am I doing something wrong?
...
hey guys!
i try to debug a windows gadget. Just-In-Time debugging fires up and i can see an VS2010IDE attached to the sidebar process. But there is no source code to debug! Only a blank file with the yellow debug pointer. What is my problem?
Configuration of my system is based on this article:
Gadgets for Windows Sidebar Debugging (ht...