In Perl, how can I write the output of Dumper to a file?
How can I make Data::Dumper write a dump into a file? ...
How can I make Data::Dumper write a dump into a file? ...
I added NSZombieEnabled to my executable's environment in order to track down an object that I'm over releasing. What I'm finding now, is that a part of my app is crashing that never has crashed before, only when NSZombieEnabled is toggled on. The moment I disable it, no crash occurs. I need to do forensics on my code, but what can this...
I'm trying to debug an error I got on a production server. Sometimes MySQL gives up and my web app can't connect to the database (I'm getting the "too many connections" error). The server has a few thousand visitors a day and on the night I'm running a few cron jobs which sometimes does some heavy mysql work (Looping through 50 000 rows,...
For my debugging needs,pdb is pretty good. However, it would be MUCH cooler ( and helpful ) if I could go into ipython. Is this thing possible? ...
So, I've got a Swing GUI that, for testing purposes (the other applications that my task will interact with aren't all developed yet), I'd like to be able to give a "debug console" to. The idea being that I could use this console to explicitly set values in my model, and verify that the appropriate GUI elements get updated. The Eclip...
I have noticed that the output from my trace statements & dynamic text fields (for testing) has been getting stuck in memory. Each time I publish, unless I have made a lot of changes to my code, the published SWF does not reflect my latest edits -- making my debugging process really frustrating. This is happening both in external classe...
I've got a solution with many projects One of these proejcts is a "MyProject.Web" web application. This has a web reference to MyProject.WebService" project - I have a breakpoint in the WebService project, and i call the method on one of my Web forms, the break point is not hit.... How can i enable this? ...
Is there a debugger which works from a virtual machine's host? That is, instead of using interrupts inside the machine, I expect this debugger to recognize the virtual machine's OS routines, memory locations etc, and to recognize when the OS is launching a certian EXE. Then I want to be able to set hardware-like breakpoints per process ...
I'm developing a Windows Service in VB.NET 2008, but I feel like I'm going to have an aneurysm. To debug the service, I've added a 15 second wait to the initialization code, which gives me time to start the service and attach the .NET debugger before anything happens, so I can hit breakpoints and such. I really miss "integrated" debuggin...
hey, I've spent too much time trying to get this to work on IE 7. It's working on ff and the only errors coming up on validator are missing alt tags for images (9 errors). The entire site works except for this one part, and so I'm wondering if there's a weird float bug that I'm unaware of. I have a div with an image inside of it. Under...
HI, I'm getting following error when I run the application after building it. Any solution to this problem is appreciated. "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application." Thanks in adv.. ...
I previously asked a question on here, but I was unregistered and wasn't able to edit my entry (not sure if you can) or add any information about the issue. I'm going to attempt to be more thorough this time so I can hopefully get an answer... I'm trying to find a static pointer and a list of offsets so that I can easily find informati...
Hello I am debugging a php application. In the Local Debugging window, it shows the following information Name value Type LinkID 15 mysql link The value of LinkID change within the program What is mysql link type , being shown in the debugging window? Also, can anyone explain what the function performs ? Here is the...
I'm trying to trap any and all exceptions in a C++/CLI app so that I can log and record them (including a stack trace). So far I have some code which looked promising: [STAThreadAttribute] int main(array<System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); ...
Debug Messages from the Windows Kernel Drivers? I am using DbgPrint and DebugView currently, but it this the official way to observe the drivers behaviour? Does anybody know if and where kernel log files are hidden in the Windows System (like /var/log and dmesg only windows-ish?) I for my part are currently using Vista, but there prob...
Hello, I'm trying to find a memory leak in a windows MFC 8.0 application (Release build). After failing to show the full stack trace of allocations using WinDbg (or umdh) due to VC8 CRT's malloc problem with FPO, I've tried to apply the solution proposed here (i.e. using LeakDiag with DbgHlp StackWalk enabled) only to realize that Leak...
Debugging stored sproc can be menace, & I was not able to use the Immediate Window like the way I thought I would be. Is the immediate window available while debugging Stored Procs in VS 2005? Is there any other way I would be able to run queries on a Temporary Table which I am creating inside a Stored Proc ? As the scope of the Temp...
Update: After more digging this seems to be an issue with static methods and member variables. I found this post on MSDN forums, but no answer. I am writing a C# WinForms app(.Net 2.0) with a mixed mode dll all in the same solution. When I step into native code while debugging I am unable "watch" many of the pointer variables. This seem...
Hi, Is it possible to add Dependent Breakpoints(Not a Conditional Bp) ( Breakpoint1 is enabled if B2 is enabled etc..) in Eclipse... I know it is possible in Intellij IDea ..but havent found a way to get this working in Eclipse. Thanks, Pavan ...
I'm working with an SSIS Package that pulls data from a DB2 source, runs through a conversion process (unicode stuff) and then stores the data in a SQL table. From the error information below, I have been able to determine that there is some kind of special characters in the DB2 file/table. What I do not know is how I can narrow down w...