debugging

Debugging asp.net suddenly stops

I have a strange error. I'm debugging an asp.net site and suddenly it stops. Visual Studio stays in debug mode and my web application stays on running just fine. I found this post on, but I don't think a background thread is causing the problem. There's even a try catch around the code where it usually stops debugging, but the catch is n...

How to use Nant and MSBuild to build debug deployment

Hi I have a Nant build script which referrences 30 other build scripts. Each build script referrences a visual studio solution using MSBuild. Each solution has 3 to 5 projects in. Some projects are Class Librarys and some are Web Apllications. The projects reference other projects both in their solution and out of their solution, so...

How can I save/print values in my WATCH list in Visual Studio 2008?

When I attach the Visual Studio 2008 debugger to my web server process, I sometimes browse a large amount of data in my watch list. Suppose I have an array of string variable that I expand to show 20 entries. It seems that the only way to save these values is to copy and paste them one at a time. I have gone so far as to do a screen-s...

Where is the VB.Net debugger "Make Object ID" function?

When using the visual studio 2008 debugger with c# i can right-click on a variable and choose "Make Object ID" which allows me to watch that object (via it's ID) regardless of whether it is in the current stack frame or not. When the debugger is in VB code, (doesnt matter if it's run from a c# unit test or a vb unit test) That option is...

How do you debug Silverlight applications with Chrome AND hit breakpoints?

I am using Visual Studio 2010 to create a Silverlight 4 application. I set a breakpoint in my code-behind, start the debug session from Visual Studio, and unfortunately, my breakpoint never gets hit. So, I eventually I tried setting my default browser to Internet Explorer ... and lo and behold ... my breakpoint gets suddenly hit. Is C...

How do I debug into an ILMerged assembly?

Summary I want to alter the build process of a 2-assembly solution, such that a call to ILMerge is invoked, and the build results in a single assembly. Further I would like to be able to debug into the resultant assembly. Preparation - A simple example New Solution - ClassLibrary1 Create a static function 'GetMessage' in Class1 whic...

Does anyone know how to debug javascript in IE 7 and IE 8 using Visual Studio Express 2010 without having to install Frontpage Server extensions?

I want to use visual studio express to debug Javascript in IE7/8, but it seem to require that frontpage server extensions to be installed on the page. ...

Eclipse: Break when exception is thrown

Visual Studio has an option to break automatically into the debugger when an unhandled exception is thrown, does Eclipse have similar functionality? ...

Visual Studio 2010 debug minidump

Hi all, Consider the following code (written with Visual Studio 2010 and .NET 4.0) using System; namespace DumpTester { class Program { static void Main(string[] args) { int test = new Random().Next(); Console.WriteLine(test + new Random().Next()); Test(); } private static void Test() { throw new Exceptio...

Debugging with only the .exe

HI: I've a Delphi 7 program that I wrote many years ago, but I've lost the source code. It's a small program but very useful for me. I've tried to 'install' it again in a new Windows XP computer, just copying the folder with de data (.db paradox files), and configured the BDE connection. When the programm starts I receive an "Unknown...

Reportlab 'LayoutError' handling and debugging.

I have been working with some complex PDF outputs with reportlab. These are generally fine but there are some cases still where I get LayoutErrors - these are usually because Flowables are too big at some point. It's proving o be pretty hard to debug these as I don't often have more information than something like this; Flowable <Table...

eclipse loadproperties like in ant task

hello, is there something like the anttask loadproperties in eclipse so that i can load a properties file when i want to debug in eclipse. thanks! ...

IF Statement has strange behavior

I've developed a 'custom' cout, so that I can display text to console and also print it to a log file. This cout class is passed a different integer on initialization, with the integer representing the verbosity level of the message. If the current verbosity level is greater then or equal to the verbosity level of the message, the messag...

T-SQL Debugging Logon Failure

Server Info: Windows Server 2008, SQL Server Standard 2008 (64-bit) I recently upgraded to SQL 2008 and was interested in trying out T-SQL Debugging. Initally encountered some firewall issues, but after disabling my workstation's Windows Firewall and having TCP port 135 and UDP 4500/500 opened up by the IT group I got a little further....

What does it mean in Visual Studio debugger value "{ }" ?

Hi all, I have in my Visual Studio 2008 .NET C# project one property observed and debugger shows open and immediately closed curly brackets "{}". I believe it is uninitialized (I)List, but why it does not shows "null" or "unitialized". What does "{}" it means ? br, Milan. ...

Embedding Lua into a C# Windows form, and using LuaInterface to debug Lua.

I have a windows form which a richTextBox and a button, and another form for debugging Lua. I was wondering how I can use LuaInterface to debug the Lua code that is in the richTextBox and print the output to the next form. I am using Microsoft Visual C# 2008 Express Edition for this. I have Lua51.dll and LuaInterface.dll in the .exe di...

Need a good serial port logging tool

I'm working on an embedded system and it uses one serial port for all it's logging purposes. Is there a tool out there that allows you to filter lines into different windows (or remove them altogether) so that I can separate the output of the various logging sub-systems and remove spam messages that show up multiple times a second? I'd...

Android ==> Loggin witthout going to debug mode ???

Is there any way to log within the application without being in debug mode. When i am in debug mode the application runs tooo slow. Thanks ...

Strategies to JavaScript console.log/trace, etc.

I am writing a rather large JavaScript software. I need to trace calls, log events, debug actions, while maintain performance and portability across browsers. Webkit and Firebug both offer console object with methods like trace(), log(), error(), warning(), etc. They are great, but what do I do when the browser is IE or Opera? Imagine ...

Scripts added via jQuery not visible in FireBug

I am adding <script type="text/javascript" src="http://somedomain/somescript.js"&gt; to the document head via jQuery. This is the code I use: $(document).ready(function () { var s = document.createElement("script"); s.type = "text/javascript"; s.src = (document.location.protocol == "https:" ? "https://ssl" : "http://www") + ...