Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > visual studio .net debugging > january 2004

Filter by week: 1 2 3 4 5

immediate window
Posted by Alison at 1/30/2004 10:51:06 PM
Hi, there I once was asked to use immediate window in my program. I just don't figure out how to use it? Can someone give me a clue about how to use it ? Thanks ...more >>


Debugger detaches unexpectedly on ASP.NET applications
Posted by Jayson at 1/29/2004 3:11:12 PM
i have a side by side install of vs.net 2002/2003, everything has worked fine for well over a year. something i've noticed lately is when i attempt to debug an asp.net application in vs.net 2003, the debugger detaches ~5 seconds after i fire the application up. if i put a breakpoint on the page_lo...more >>

Stepping thru with VS gives me differnet values than supposed to be
Posted by Harry at 1/29/2004 10:08:52 AM
HI all I've been using VS.NET for a while and when I am stepping through the code, I would watch the values. Recently, Visual Studio.NET is giving me values that I am not expecting. Example: A integer of value 0 would be give me a value of 0x0 and 2004 would be 0x7d0. Is there a setting ...more >>

JIT debugging doesn't work
Posted by Thomas at 1/29/2004 2:31:12 AM
When a client-side script is encountered in my Internet explorer on a web page (running from http://localhost) I get a popup: "A runtime error occured. Do you wish to debug? <Error description here>". If I click yes nothing happens. I can get the Visual Studio .net 2003 debugger to work fine, but I ...more >>

Remote debugging with XP Pro
Posted by Scott at 1/28/2004 8:24:45 PM
We're having an issue with remote debugging applications. The Windows 2000 server was previously configured for remote debugging and it used to work fine when the client was Windows 2000 Pro. Now that we upgraded to XP Pro we can't get remote debugging to work. The error we're getting i...more >>

Help understanding DR WATSON LOG
Posted by messan.apete NO[at]SPAM asinfor.com at 1/28/2004 6:54:01 AM
I have an application which often generate this kind of DR WATSON LOG function: CDLLI11!SalSetDLLDataMode 671a4203 7800 js CDLLI11!SalSetDLLDataMode+0x6c5 (671a4205) 671a4205 0000 add [eax],al 671a4207 8b4514 mov eax,[ebp+...more >>

Debugging VbScript
Posted by Jim Zeeb at 1/28/2004 6:41:08 AM
I'm not sure how to debug a VbScript. The Start option in the Debug menu is greyed out It looks lik I need to attach the debugger to the wscript task, but there is not a wscript task active to attach to....more >>

VS .NET 2003 always tries to recompile every project on debug.
Posted by Chris Johnson at 1/27/2004 6:11:05 PM
We have a large solution with a large (unmanaged) C++ code base. We started adding .NET projects in C++ and C# recently. If we add a C# project, when we try to debug (e.g. by pushing F5,) the IDE insists on touching every project to see if it is up-to-date If something has changed, the pop-up th...more >>



Debugger user group
Posted by Chris Clement at 1/27/2004 11:01:19 AM
I am trying to add the aspnet account to the debugger user grup but there is no debugger user group. What do I have to do to create one? I just can't do it manually, can I? Thanks ...more >>

debugging multi threads
Posted by Bob Day at 1/26/2004 11:59:33 AM
Using XP Pro, VS 2003, VB.NET, MSDE... Can you point me to a URL that describes best practices for debuging multiple threads in a winform application? I have some bugs, that only exits when running multiple threads, I am not excactly sure what the best approach is to tackling the problem. ...more >>

Can only attach manually.....
Posted by jdn at 1/26/2004 10:56:08 AM
I'm at a client site, and am having an issue that may or may not be resolvable Different servers involved, depending on stage of the process. One is in the same domain, the other is in another domain We connect to the project on the server, and then work offline to debug (so we debug on our loc...more >>

EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'
Posted by Jurgen at 1/25/2004 8:11:05 PM
I had this message EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo while debugging my application I try to set the properties "Enable SQL Debugging" to false in project properties and it works fine But is there any solution to enable the sql debugging and yet...more >>

VS .NET IDE crashing
Posted by michael at 1/24/2004 8:46:04 PM
I have an application that I have been working on for 2 years in VB .NET and just recently, This particular application has been crashing the VS .NET IDE. Other applications seem to compile/link/debug just fine. However, this one application generates the following error messages after a "Build Solu...more >>

Watch Window (unable to enter text, values, ect...)
Posted by Ramon Guerrero at 1/23/2004 10:21:04 PM
Every time i select a variable from code and try to drop it into the watch window, i get the little "unable to drop" symbol. Also if i try to enter any names, values, or types into the watch rows, nothing happens. Instead the whole row is high lighted blue with no cursor. Any ideas?? Thanks!!...more >>

Can't bring up debugging windows: Watch, Locals, Autos, Immediate, etc.
Posted by SunshineGirl at 1/23/2004 2:30:34 PM
Weird problem. When my ASP.NET app is running, I can click on the debugging windows under Debug->Windows, and the appropriate tabs appear at the bottom of the screen, but when I click on those tabs, they don't bring up any of those windows. Yet I can see the Find Results and Output windows just f...more >>

SQL Server Stored Proc breakpoint NOT being hit
Posted by David Laub at 1/23/2004 10:41:06 AM
I am trying to step into a Stored Proc from a .net app that executes a SQL Server Stored Proc using ADO.net code. I set the project up to enable SQL server debugging, and I use Server Explorer to set a breakpoint in the Stored Proc, but the breakpoint is never hit. I CAN step into the Stored Proc ...more >>

Debugger Automation?
Posted by Smith at 1/23/2004 5:36:05 AM
Is it possible to access 'live' objects via debugging automation (i.e., through via a managed VS addin) ? All I seem to be able to get is string representation of names and values. thanks! ...more >>

The debugger component on the server failed to connect to the local machine
Posted by jos84_1 NO[at]SPAM yahoo.se at 1/23/2004 1:13:48 AM
Hi! I get the following error while trying to debug a ASP.NET application on a remote server: "Error while trying to run project: Unable to start debugging on the web server. The debugger component on the server failed to connect to the local machine." And in the debug output: "Auto-att...more >>

meaning of breakpoint expansion in bp window?
Posted by Leo Tohill at 1/22/2004 11:32:14 PM
In the breakpoint window, each listed bp can usually be expanded by clicking the + that precedes the name. Then i see a list of identical lines, all the same breakpoint. What is the meaning of this? ...more >>

VS Whidbey disables Script Debugging
Posted by Greg Collins at 1/22/2004 10:50:14 PM
Setup: Win2003 Adv Svr. VSWhidbey ->to-> VS.Net 2003 I had VS Whidbey installed and could not get Script debugging to work. Then I finally started digging around and did that one thing a dev should never do and looked at the ReadMe. I saw that Whidbey disables Script Debugging and it will...more >>

Configuration error..???
Posted by smita at 1/22/2004 1:24:44 PM
Hi, I amableto run my ASP project in Debug mode but it gives the following Configuration Error....Please May I know what is this Configuration Error all about?? The error is as folllows Server Error in '/' Application. ------------------------------------------------------------------...more >>

SQL Debugging with VB.NET 2003
Posted by shannonbob NO[at]SPAM comcast.net at 1/22/2004 11:35:15 AM
I've followed all the instructions for setting up SQL Debugging, but it doesn't work. The VS.net developement environment and SQL Server 2000 are installed on my machine. I am not trying to get it to work remotely. In the "Server Explorer" window, I find my Stored Procedure. I right click...more >>

no source code at current location
Posted by Zaijin Guan at 1/21/2004 11:26:09 AM
Hi I'm having a problem with Visual Studio .Net. We are building a multi-threaded Visual C++ application. The solution consists of three projects, two built as static libraries and one as executable which links in the two libraries. All three projects are built using Debug configuration. However, ...more >>

Searching for string in binary output
Posted by trojan at 1/21/2004 4:11:05 AM
Hi, Would you please tell me the way to find the literal string in the source code from the binary (exe) file? Thanks you very much, Trojan...more >>

Could not start ASP.NET debugging and lockdown wizard issue Win2003
Posted by jtwright NO[at]SPAM tycovalves.com at 1/20/2004 5:31:47 PM
I have some serious issues trying to get Windows 2003 server to debug my ASP.NET applications. First, I can debug a windows form application just fine. I have taken a copy of a web application from a windows 2000 Adv Server and put it on the Win2003 server, lets take that back, I have taken ...more >>

Debugging/watch window slowness
Posted by (andrei NO[at]SPAM treyarch.com) at 1/20/2004 4:27:50 PM
Hi all, Did anyone run into a problem with .net 2003 getting VERY slow if you add a few array/list/nontrivial data structures to the watch window. The reason is apparently it's recursive expansion of members. Does anyone know how to turn it off or otherwise solve it? Thanks! **...more >>

Error while trying to run project: unable to start debugging on the Web server
Posted by coder5811 NO[at]SPAM yahoo.com at 1/20/2004 3:18:16 PM
Make sure that you have a web.config in the project. http://www.xpcoder.net...more >>

ASP.NET Inherits="" statement doing weird things on some projects.
Posted by bubba NO[at]SPAM cfwebmasters.com at 1/20/2004 2:22:06 PM
We are using VS.NET 2003 on XP Pro and Windows 2003 Standard Server and we are having the weirdest thing happening. We have web applications and we just implemented a fairly new development server but we have a couple of projects that are running without any problems but have this one that cons...more >>

Debug into .NET libraries
Posted by brckcc NO[at]SPAM yahoo.com at 1/20/2004 1:06:05 PM
I want to step into the methods of standard library calls (for example into the SelectedNode property of TreeView), but it won't allow me to step into the .Net library calls When I was doing C++ programming I could step into the MFC libraries. How do I achieve the same thing in C#? Using Deve...more >>

stackwalk / callstack and symbol resolve of managed and unmanaged code - dbghelp, etc.
Posted by asanford2000 NO[at]SPAM hotmail.com at 1/20/2004 10:50:23 AM
We use StackWalk(StackWalk64) from dbghelp.dll to walk our callstacksas needed, using the various Sym* methods (SymGetSymFromAddr, SymGetLineFromAddr) to resolve source file, function name, and source line number for each frame. This works fine for unmanaged code, but when we have a call stack ...more >>

Debugger get confused when two files in a project have the same name
Posted by David Laub at 1/20/2004 6:41:06 AM
My situation is specifically with ASP.net, but I have a feeling it is more general Specifically, in a single web project, I have multiple sub directories, each of which "start" with a default page name default.aspx. Intermittently, when I place a breakpoint in one of the default files, the breakp...more >>

BUG ?? managed-code debugging not working
Posted by sam at 1/19/2004 10:31:06 PM
Hi This is a follow up to my earlier mail thread of 4Dec2003 (Sub: VS2003 - C# - Stopped hitting breakpoints !! I wonder if this is a known BUG. Why doesnt someone at MS have a proper solution to this The only solution we have found so far is to re-install VS2003- which is not such a good idea ...more >>

Single Development Server with Multiple .NET Developers Debugging
Posted by bubba NO[at]SPAM cfwebmasters.com at 1/19/2004 12:17:39 PM
We have a single development server with multiple .NET developers. Only one developer can debug at a time PER SERVER. This is totally unacceptable but I can not seem to find any white paper, articles or instructions on how to fix this. Could someone point me to or provide me with the informati...more >>

Debugging a Class Library in Visual Studio Help!
Posted by mike_kenyon NO[at]SPAM tiscali.co.uk at 1/19/2004 7:43:25 AM
Hi, I am learning ASP.NET (though not new to programming) and I am getting along okay. The set up is like this : - 1) I have created a class library in a project in Visual C# that compiles fine. (DLL located in C:\My Documents\Visual Studio Projects\myCsharpLibrary\Bin\Debug. 2) I then...more >>

Debug symbols not for all .aspx forms.
Posted by AK at 1/19/2004 6:41:10 AM
I have a ASP.NET project. Debugger refuses to load symbols for one of .aspx pages, though is does load them for other files. The error message on the breakpoint says "No symbols have been loaded for the document". The strange behaviour is that when I change the file name from Report.aspx to ReportNe...more >>

Watch not sufficient
Posted by Jesper at 1/19/2004 4:56:07 AM
Hi I would like to keep an eye on some fields in an object. However, this object is adressed accordingly to the scope of execution if I monitor it in the Watch and hence I would need to write the path to the object in the watch as I jump from scope to scope. Is it possible to watch the fields of a...more >>

Error messages
Posted by Nathan at 1/19/2004 4:40:48 AM
Hi, When running an app in debug mode, I often get a generic error message when an exception is thrown. Something like: "An unhandled exception of type Something was found in system.windows.forms.dll." If I do: Try 'Code with error Catch ex as exception msgbox(ex.tostring) End Try ...more >>

what is the deal with the command window in C# debugging projects
Posted by Eric Newton at 1/18/2004 12:07:43 PM
its practically useless... I can print variables ? arrayList.Count but i can't do this: arrayList.RemoveAt(0) or >arrayList.RemoveAt(0) Command "arrayList.RemoveAt(0)" is not valid. grrr! -- Eric Newton eric.at.ensoft-software.com www.ensoft-software.com C#/ASP.net Solut...more >>

Problem - Debugger in VS.NET 03 has stopped working!!!!
Posted by cam_banks NO[at]SPAM hotmail.com at 1/17/2004 2:35:31 PM
I have run into a problem that I can find explanation to nor find a fix for. I can no longer debug an application I have developed through the VS.NET 03 IDE. I hit debug and the IDE locks up. In the task manager I see the executable that I am trying to debug, it has only consumed some small n...more >>

Can't debug SQL in .NET Web Service in VS.NET 2003 on Windows Server 2003 Enterprise Edition
Posted by John Dougrez-Lewis at 1/15/2004 2:28:31 PM
Hi, I'm currently trying to stop at breakpoints in some SQL Server 2000 T-SQL stored procedure whilst debugging a C# .NET Web Service running in VS.NET 2003 on Windows Server 2003 Enterprise Edition, but it just isn't working. I can see that my code is successfully calling the DB stored pro...more >>

Breakpoints passed by in VB.NET Winforms app
Posted by dchilders at 1/15/2004 1:06:05 PM
I have been looking and trying solutions for this problem. The IDE ignores my breakpoints. I have repaired the VS.NET install and also did a clean reinstall. These seemed to work at first but then went back to the same problem. Deleted every file you have suggested in earlier posts, deleted the ...more >>

Brekpoints don't breaks, exceptions in UnknownModule - what's going on????
Posted by Piotr Olech at 1/14/2004 12:57:26 PM
I'm using VS.NET 2003, writing in C#. I'm developing medium size, WindowsForms application. I've base classes for interface and logic (in two separate projects (dlls): BaseLibInterface and BaseLibLogic), I have a separate project (dll) for our custom controls and components (ComponentsLib). Ever...more >>

What is the best book or other documentation for using vs.net debugger
Posted by Chris Walker at 1/14/2004 10:01:15 AM
I learned all my debugging by doing it. I thought it was easy enough. A friend of mine is looking for good source material for learning how to debug applications though. Does anyone have any suggestions? Chris Walker ...more >>

Debugging a NET-assembly inside a COM Callable Wrapper
Posted by alfred.sehmueller NO[at]SPAM gmx.de at 1/14/2004 8:16:30 AM
Hello NG, is it possible to debug a .NET-Assembly when called from a ASP-Page(Classic) or a VB6 Application through a CCW? Thanks for your answers Bye Alfred...more >>

pdb/map-files
Posted by Ulf J. at 1/14/2004 5:36:03 AM
Is there a way to create a .map-file from a .pdb-file? If not, is there a tool that allows me to view its content and locate the source line of an address? ...more >>

Problems debugging classic asp on winxp pro
Posted by pete at 1/13/2004 8:58:42 PM
Setup: WinXP Professional (latest sp's and hotfixes) IIS 5.1 VS.NET 2003 Microsoft Script Debugger... (latest one just dl'd it) I'm in need of debugging some legacy asp code. Below is a list of things I've tried in order to be able to get a breakpoint on the serverside of one of these pa...more >>

remote debugging not working
Posted by rb at 1/13/2004 6:51:24 PM
Hi I have a remote object hosted in IIS on a different machine (Win 2000 Advanced). I am trying to attach to the aspnet_wp.exe process running on that machine to debug the remote object. It says "unable to attach to the process. Access is denied." I tried everything. 1. I am an administrator, de...more >>

Debugging in VB 6.0 from VB dot net dll.
Posted by Sumeet at 1/13/2004 1:53:15 PM
Hi, I have 2 components. One is in VB Dot net & another is in VB 6.0. My ASPX page calls VB dot net DLL. This VB dot net DLL calls my VB 6.0 EXE. I'm able to successfully debug from ASPX to VB dot net dll. But After this I'm not able to continue my debugging in the VB 6.0 EXE. Is anybody ...more >>

There is no source code available for the current location. Message
Posted by Lenny at 1/13/2004 8:33:06 AM
Hello, When I am stepping through my code, when debugger cursor reaches the last line "end sub" if I keep on hitting F11, I am getting this message: "There is no source code available for the current location." There's also an option "Show disassembly information" which takes me to what...more >>

Please Help: HowTo Debug COM-Object
Posted by alfred.sehmueller NO[at]SPAM gmx.de at 1/13/2004 8:10:07 AM
Hello NG, i am upgrading a ASP-Appliation to ASP.NET (C#). It makes use of some core custom COM-Objects. Everything is doing fine - I can use the com-Objects from ASPX-Pages. But how can I debug them (they are written in VB6). With VB6 and classic ASP I was able to debug the com-Object. Can...more >>


DevelopmentNow Blog