debugging

how can effectively debug stored procedures in visual studio

hi ive been debugging sql 2005 stored procedures in visual studio 2005 and find it really frustrating that i can't run a sql query while stepping through the code. specifically my main issues are... if my SP inserts/updates to temp tables then i cant query those tables while debugging. would be cool if i could use the immediate wind...

Debugging independent unit test bundle for iPhone?

I created an independent 'LogicTest' bundle as described in Apple's latest and greatest instructions for iPhone projects. I've successfully set up and debugged dependent test bundles on Mac OS, just fine. However I have not worked with independent bundles nor test bundles for iPhone before. The test bundle builds and executes tests ju...

Why is DebugHook not set to 1 in my Delphi add-in DLL?

When I'm running my COM Office add-in from within the Delphi 5 IDE (using any of the office applications as the host), breakpoints work fine (when using remote debugging symbols and a properly set output folder), but none of the non-delphi exceptions (like access violations) in my code triggers the IDE to break at that point. In stead, t...

How do you debug Clojure in NetBeans IDE?

I have a main function but NetBeans needs a main class in order for stepping. How do you guys debug Clojure in NetBeans? ...

Implementing debugger support: choice of debugging API

The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are familiar with. If someone was implementing debugger and profiler support for a new CLI runtime¹: What would be the pros/cons of basic their operation on these existing APIs? These APIs retain backward compatibility² by incrementing interfac...

Unable to load one or more breakpoints error in Visual Studio.

Hi All, My Visual Studio is behaving strangely.Actually I have no breakpoints in my projects but whenever i start my Visual Studio an error message comes up showing that it's unable to load one or more breakpoints. Second , i have 10 projects in my solution i make one projrct as a startup project but Visual studio is not saving this in...

Can I target CE 4.2 or CE 5.0 using C++ on VS2008

I am developing for a SH4 based device that can run either CE 4.2 or CE 5.0. As per my previous question, I can target these devices using the Standard SDKs under embedded visual C++ 4.0, but I cannot debug over ActiveSync. I have also loaded Visual Studio 2008 (SP1), but cannot load these SDKs up, and hence cannot target my device. I...

Are there any WinDBG replacements with a better GUI?

I'm using WinDBG occasionally to analyze problems in production environment, where VS cannot be installed. There's no doubt it's an extremely powerful tool, but using it is a bit annoying. Even though the product is frequently updated, its GUI goes back to the Win95 days or so, and its usability is accordingly. Having to fight the GUI to...

Debugging lambda expressions in Visual Studio 2008

Do you know a Visual Studio 2008 Addon, which allows the debugging of Lambda expressions (in the Watch window)? ...

Haskell: any debugShow function?

I want to use Debug.Trace.trace to print something which I know is a Show. Just like I would do in Python etc. One solution is to add "Show a =>" to the signature of the function where I want to put the trace, and to any function calling it, etc. But it would had been much nicer if I could use some debugShow function which calls show i...

FLA won't publish in CS3, previously compiled swf is gone!

I have had this problem a few times lately. When I try to update & publish files that previously published fine in Flash CS3, the "Exporting Flash Movie" bar comes up, but no movie compiles. When I go to look for the swf in the Finder (Mac OS 10.5.7), it has mysteriously disappeared, and only the .FLA remains. It doesn't happen with ALL...

Possible to change Visual Web Dev without stop/start recompiling whilst debugging?

Hi -- This may be a stupid question, but I'll feel stupider if I don't ask and find out in 12 months that it was possible (this happened when I realized I could do what I'm requesting below with .aspx files). Is it possible to change my project files (c# classes, which predominate in an asp.net mvc environment) without recompiling whil...

How do I get Netbeans to default to Hex display for watch variables?

In Netbeans 6.5 I am debugging a network stream and need to view the memory in Hex. The only way I have found to do this is to right click on each row and select display as Hex. This is very inefficient and I would like either a memory dump or default to hex. Is there a way to do this? ...

Print current call stack in Python

In Python, how can I print the current call stack from within a method (for debugging purposes). ...

Debugging a JLink application in Pro-Engineer

I'm trying to use J-Link, the Java language toolkit for Pro-Engineer. I haven't yet found a way to debug or trace through J-Link applications, something that I need to do to understand the sample applications. The manual recommends attaching a debugger to the the process that was started by Pro-Engineer, which doesn't seem to be workin...

Async call for WCF service hosted in windows service

I have hosted a WCF service in windows service. I have console app for which I added a WCF service reference and generated Client for it. I can make Sync call to the service,but Async call doesn't seem to work. If i attach server process it doesn't hit the service at all. client= new ServiceClient(); client.DoSomething();//Works fine ...

How can I get PHP to produce a backtrace upon errors?

Trying to debug PHP using its default current-line-only error messages is horrible. How can I get PHP to produce a backtrace (stack trace) when errors are produced? ...

Where does System.Diagnostics.Debug.Write output appear?

Hi, the following C# program (built with csc hello.cs) prints just Hello via Console! on the console and Hello via OutputDebugString in the DebugView window. However, I cannot see either of the System.Diagnostics.* calls - does anybody know why that is? using System; using System.Runtime.InteropServices; class Hello { [DllImport("k...

Delphi 2009 only halts at breakpoints in one unit

Hello, I'm experiencing problems with debugging in Delphi 2009's IDE. Since having moved old projects that had been created using Delphi 7 to this version, all breakpoints except for those in one unit are neglected. I couldn't figure out which unit that is, but that seems to change from time to time. Enabling debug DCU's overcomes this...

How to use WINDBG debugging tool for debugging??

Hi Can any one tell me how to use the WinDbg . I am created an Application it is works fine in one machine.when i try to run on another machine it fails how can i debug it using windbg. ...