debugging

Using IDEA, how to debug web app that is deployed to local tomcat?

Using IDEA, how to debug web app that is deployed to local tomcat? ...

Debugging Assembly Code (Intel 8086)

I'm in an Assembly class focusing on the intel 8086 architecture (all compiling / linking / execution comes from running DOS on win7 via DOS-Box). I've finished programming the latest assignment, but as I have yet to program any program successfully the first time through, I am now stuck trying to debug my code. I have visual studio 20...

Why does a button event function run during a page reload in ASP.NET ?

public partial class Stats : System.Web.UI.Page { public SqlDataReader DataReader; public SqlCommand Command; string queryString = ("INSERT INTO UserData (UserProfileID, ConfidenceLevel, LoveLevel, HappinessLevel) VALUES ('a051fc1b-4f51-485b-a07d-0f378528974e', 1, 1, 1);"); protected void Page_Load(object sender, Event...

save gdb display to a variable

Is there a way to store the output of the last command in gdb to a string? What I would like to do is store the address information of selected machine level instructions. Redirecting the output is not a solution as it would generate too much output. A simulator would also be a solution, but I'd like to see if it would be possible with g...

equivalent of __FUNCTION__ of C lanauage in Java

Hi , For debug purpose, I want to print out current executing function name in Java. If it were C, I would just do printf("%s \n" ,__FUNCITON__). ...

Device Manager fails to find Android debug USB connection.

I have tried with zero success to get a USB debug connection from a WinXP dev box to a brand X Android 1.6 tablet. I believe I had everything configured correctly on the Android and installed correctly on the dev box, but when the two are connected with a USB cable NOTHING HAPPENS; i.e. Windows finds no new hardware much less a new USB d...

how to debug .net dll when ivoked from vbscript file

Hi, I created my .net class library, I have registsred the assembly and I am invoking the methods in the .net class library from VB Script file, I want to debug the code in the class library when methods are invoked from vb script file. Could you please help in doing the above ...

How do I debug a situation with an MVC application that doesn't appear to throw any exceptions

We've recently developed an internal web application for our intranet on top Microsoft's MVC Framework (v2). This seems to work wonderfully, but after some as yet unknown events, we're seeing a situation where database queries appear to yield no results, whilst no exceptions are caught, which has stumped me somewhat. Republishing the ap...

Remote coding and execution with python: what IDE ?

I have been developing a project in python for the last six months, and love the language. But I have yet to find an IDE or text editor that could provide some extra functionality for me. I currently have syntax highlighting which is one of the easiest things to get, but not much more. I am dreaming of having my IDE jump to the line in m...

How attach code to a running iphone app.

Hi, I am trying to fix a random hang in my iphone app. I could not regenerate the hang from launching it from the xcode. Is their any way to attach xcode debugger, as soon as I detect the hang? (I can attach it to 'instruments') but it did not much help. ...

How can I set a breakpoint in .NET Framework source code using Visual Studio 2010 Express?

I need to set a breakpoint in System.Web.Handlers.ScriptModule.OnPostAcquireRequestState and then step into some of the System.Web.Script.Services.WebServiceData methods. But I only have Visual Web Developer 2010 Express (or other Express SKUs). I have configured the Microsoft Symbol Server and unchecked the Just My Code option. I can s...

Eclipse Helios ignores breakpoints

Eclipse is driving me nuts right now. It's probably something trivial but I just don't get it. Whenever I like to add a breakpoint, the regular icons are crossed out in the editor and breakpoints view. Here's a screenshot: As you might have guessed, this isn't strictly a graphical problem ;) The breakpoints are simply ignored while de...

Debug C program compiled using nmake

I have a program written in c that I compiled (The project structure is not my choice) using make files and the Visual C++ compiler (nmake.exe). I want to debug the application when it is called from a java application. I set debug break calls (__debugbreak()) in the code but when I debug using Visual Studio I only get the disassemble d...

Debugging under Linux: Is there a pseudo-tty-like circular buffer implementation?

I am developing under Linux with pretty tight constraints on disk usage. I'd like to be able to point logging to a fixed-size file. For example, if my application outputs all logs to stdout: ~/bin/myApp > /dev/debug1 and then, to see the last amount of output: cat /dev/debug1 would write out however many bytes debug1 was setup to ...

JW player resets when CSS position changed to fixed in FF/Safari 5.0

Hi, I have a script that changes a div's positioning property from static to fixed when the scroll bar reaches it. (example - you'll see the floating video in the right column). If you look at the example, when you scroll down the - the video div ("#membership") scrolls down the page with the rest of the content. Here's the script tha...

Google Chrome javascript array bug?

Hi, I'm working on a Google Chrome extension. In the popup I have the following code: var bookmarks = []; function appendBMTnode(node){ bookmarks.push([node[0].title, node[0].id]); } function addchildren(results){ for(x = 0; x < results.length; x++){ bookmarks.push([results[x].title, results[x].id]); chrome.book...

C# debugging: [DebuggerDisplay] or ToString()?

Hey all, There are two ways I know of to increase the usefulness of debugging information so you don't see {MyNamespace.MyProject.MyClass} in the debugger. These are the use of the DebuggerDisplay attribute and the ToString method. [DebuggerDisplay("Name = {Name}")] public class Person { public string Name; } or public class Pe...

Splash screen appears on Debug mode but not on Release (iOS4)

I have iPhone 3GS, iOS4, xcode 3.2.3. After loading the Default.png, I add a little splash screen the looks exactly like the application start view. This splash screen appears animating in Debug mode, but do not show at all in Release mode(I get a blank screen), this of course rules out any problems with the image, like size or name. I ...

Change Default Shell for Command Line Application Run From Visual Studio

When debugging or running command line applications from inside Visual Studio (2008 or 2010 in my case). It is possible to switch the default shell from cmd.exe to a something else? ...

Code contracts for .NET 3.5 messes up VS10's debugger

I've recently migrated a lot of manual precondition testing and exception throwing with code contracts. Instead of upgrading to .NET 4, I've been using the Microsoft.Contracts.dll assembly so I could stick to .NET 3.5 a bit longer (this is a library that is used both by .NET 3.5 and .NET 4 assemblies). I've set up the contracts rewriter ...