all groups > visual studio .net debugging > november 2004
Filter by week: 1 2 3 4 5
Ignoring breakpoints ?
Posted by Denisio at 11/30/2004 11:23:02 PM
Some times ago I install XP with SP2 on my PC and trying debug my projects.
But... VS Environment don't stopped at my breakpoints while debugging
without any messages and errors! For example:
private void Page_Load(object sender, System.EventArgs e)
{
Response.Write("OK");
}
On empt... more >>
What does the +N suffix mean on the end of release stack traces?
Posted by Josh Buedel at 11/30/2004 9:33:04 AM
For example, when an ASP.NET app throws an unhandled exception, the stack
trace might look like this:
[InvalidCastException: Specified cast is not valid.]
GatewayEDI.X12.ServiceAdjustmentRow.get_AdjustmentAmount2() +75
[StrongTypingException: Cannot get value because it is DBNull.]
G... more >>
debugging jscript - no longer works
Posted by simon at 11/28/2004 7:22:24 PM
I have been able to debug scripts previously, e.g when an
error occurs on the page it prompts do you wish to debug,
upon saying 'yes' - JIT opens a prompt to open new
instance of vs.net...etc.
This no longer works - then only thing that i think i have
changed is installing the Express bet... more >>
Application Behaviour different with / without breakpoints
Posted by sosh at 11/26/2004 5:35:23 PM
Does anyone know any reason of the top of their head why a c# windows forms
application would behave differently with a breakpoint set, to how it
behaves without any breakpoints?
I have an application that was behaving unpredictably, so I set a couple of
breakpoints to see what was going on. ... more >>
System.Data.SqlClient.SqlException Error - I'm unable to resolve?
Posted by GTDriver at 11/26/2004 12:11:03 PM
I'm running a project where I'm loading data into a datagrid where I want to
perform updates and inserts. When I run the project I get the following error
on the following line of code:
Line of code:
da.Fill(ds,"Customers") 'da is a SqlDataAdapter
Error:
An unhandled exception of type 'S... more >>
Debugging Managed vs Unmanaged code, please help!!!
Posted by alex NO[at]SPAM meidan.co.il at 11/25/2004 1:34:51 PM
Here is the situation:
I'm trying to debug an AutoCAD ObjectARX application written in C++
with VS.NET 2002
Everything worked fine untill i have used an embedded WebBrowser
control in one of my dialogs (Actually the control is contained in
another ActiveX control, so i can call "setExternal" on... more >>
Can't debug or launch application from VS 2003 .NET
Posted by PeterB at 11/25/2004 9:33:45 AM
Yesterday it all worked... today I can't start a single application from
VS?!?
I can compile, and run the compiled executable manually, but when trying to
run from within VS the application never shows.
It stops after the message: Build: 1 succeeded, 0 failed, 0 skipped
I have tried console... more >>
unable to start debugging when program started with another exe.
Posted by Luc at 11/25/2004 5:49:02 AM
Hi all,
I have to debug an exe with the VS studio .NET environment. but first my
exe has to be started using another exe. So I arranged my project properties
to start this first exe. Doing so, my breakpoints are not working.
It seems that the debugger cannot attach itself to my program s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MiniDumpWriteDump
Posted by eynav at 11/22/2004 5:23:54 PM
Hello.
I'm trying to create a dmp file that will match the Visual Studio debugger
"Save dump as" option.
I've managed to load MINIDUMPWRITEDUMP function from dbghelp.dll and to
create dmp file upon exception using the following call:
pDump( GetCurrentProcess(), GetCurrentProcessId(), hFile, M... more >>
debug vs 2003
Posted by Marjolein at 11/22/2004 1:10:29 PM
Hi,
After reinstaling my pc (thanks to spyware...) I
relocated my Visual Studio projects to :\inetpub\wwwroot.
I can open the project, but I do get a message that the
project is not suited for debugging. (setting: debug=true)
If I start the project without debugging, I do get a
message... more >>
line number info in release builds? Any way?
Posted by Jim Bancroft at 11/19/2004 9:15:09 AM
Maybe I'm hoping against hope, but is it possible to retrieve line numbers
from exceptions raised by assemblies that have been built in release mode?
Would turning on line numbering in VS .Net's Tools-->Options menu be of any
use, or is this an idea that just won't happen?
Thanks,
-Jim
... more >>
debugging disabled
Posted by f at 11/19/2004 12:05:43 AM
When trying to debug my asp.net application the following
error appears:
Error while trying to run project. unable to start
debugging on the web server.
This is on my home machine which is xp pro running IIS 5.1
This is in the web config already:
<compilation defaultLanguage="c#" debug="true... more >>
Remote Debbuging Problems...
Posted by Scott Tuttle at 11/18/2004 3:20:17 PM
I also am experiencing remote debugging problems. If I debug the same
application in my local IIS it works fine with no problems 100% of the time.
I have a remote development server that is currently running Windows 2003
Server and IIS 6. I create a small test project that debugs fine with ... more >>
Cannot Debug Stored Procs from VS.NET
Posted by Alex Clark at 11/18/2004 2:53:23 PM
Hi All,
After installing a hotfix for SQL Server on my Win2K3 Server, I've been
unable to debug any stored procedures running on it from my XP Pro machine
running VS.NET 2003 EA.
To clarify, I can step into Stored Procedures from my workstation on a
database running on the server. Howev... more >>
howto debug a dll that is latebound within VBA
Posted by pieter at 11/17/2004 7:29:49 AM
Hi All,
I have a problem for which I am unable to find a solution myself. The
scenario is like this:
We have a slow-starting application (that has a VBA sub-system which
works the same as Word's VBA) for which we develop applications in VBA.
My current task requires me to develop a certain ... more >>
Cannot attach process for debugging
Posted by steve02a at 11/16/2004 12:40:06 PM
When I attempt to attach a running process (w3wp.exe), I guess to a solution
I have open, it won't let me attach it. The error I get is: "Unable to
attach to the process. Access is denied."
I'm trying to get this attached so I can debug in my solution. When I try
to debug, I get the erro... more >>
unable to debug Visual Studio 2003 - catastrophic failure
Posted by Matt Calhoon at 11/15/2004 9:36:02 PM
Hi there,
I have one Windows 2000 Professional computer in my domain that will not
allow a certain user to debug in Visual Studio.NET 2003. I have opened up
Local Security Policy and "Impersonate a client after authentication". The
MACHINENAME\aspnet user effective priveldges are greyed out... more >>
Use modifiers to look at watches differently
Posted by Ramon de Klein at 11/11/2004 2:26:04 AM
In Visual C++ I can use watch modifiers to look differently at variables.
Looking at a n integer in hex is easy by adding ",x" after the variable.
When working in C# its very hard to find out the integer value of an
enumeration of to look at a GUID in a readable format (although this can be
... more >>
Unable to start debugging com+ registry ...
Posted by Matt Newnham at 11/10/2004 5:35:05 PM
After appling sp2 I started geting the following error.
"Error while trying to run project: Unable to start debugging on the web
server. The com+ registry database detected a system error."
I have found few posts that deal directly with this problem. Two other
developers in my company expe... more >>
debugger IDE hangs when stepping with properties in watch window
Posted by asanford at 11/10/2004 12:56:05 PM
When using the VS.net 2003 debugger to step thru a multithreaded C#
application (on a thread that's being called via .net remoting), if you have
object properties (that is, properties that execute code) in the watch
window, you will notice that the debugger single-steps very slowly. After a
... more >>
Debugging classic ASP in VS.Net 2003
Posted by cathyt NO[at]SPAM berkeley.edu at 11/10/2004 8:23:51 AM
I am trying to debug a classic ASP application LOCALLY in Windows 2003
server, IIS6, VS2003. This is a working application that is being
migrated to W2003/IIS6.
I can successfully debug a test ASPX file in this particular project
and the debugger will stop at the breakpoint I set, but when I ... more >>
Build errors when running a VB.NET windows app??
Posted by GTDriver at 11/9/2004 11:29:10 AM
When I click the start toolbarbutton for my VB.NEt Windows app I get the
following:
There were build error, continue?
When I click yes the application works fine. However the debug erros still
exist in the error window:
Unable to write to output file "d:\....\projectname.pdb" :Acess is ... more >>
How can I see what's in a collection during debugging?
Posted by pantichd at 11/8/2004 11:55:55 AM
Hello,
Can someone tell me how I can view the contents of a collection when in
debug mode?
For example, I working with a dataset and when the app stops at a breakpoint
I'd like to see what is actually in the Tables collection of the dataset. I
add a watch on my dataset variable and expand t... more >>
Is it possible to get symbols and line #'s from .pdb w/o loading the process
Posted by peter.small NO[at]SPAM philips.com at 11/8/2004 11:35:15 AM
We have an issue that when solved will enable us to easily diagnose
crash problems that are coming out of our application:
Given a raw stack trace, how do you get symbol and line information
from the .pdb file without having to load the process. This is a case
where using map files is not an ... more >>
Debugging a windows service
Posted by Nigel Ellis at 11/8/2004 9:42:05 AM
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C4C577.34DF0E30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have written a Windows service using VS 2003 (VB.NET), and I am having =
problems debugging said windows se... more >>
Debugging Problems in VS.2003
Posted by Kevin at 11/6/2004 10:44:01 PM
Aloha All,
I am at wits end with the debugger. I have reloaded VS 2003.net,
reinstalled the .Framework 1.1, checked all the permissions in IIS and as far
as I can tell everything is in order. I uninstalled 2005 Beta and I have
Windows XP Service Pack Two installed.
The odd thing is t... more >>
The latest ATI drivers won't run while a debugger is active!
Posted by Don Jordan at 11/6/2004 7:36:02 PM
Forgive me, this is a cross-posted rant...
I had to reinstall Windows XP from scratch today. I have an ATI video card,
so I downloaded the latest Catalyst drivers from ATI (version 4.10). I spent
the entire day re-installing all of my software and development enviroment.
This evening, I ... more >>
istringstream on Visual Studio
Posted by Scott B. Drummonds at 11/4/2004 5:08:01 PM
Hi, everyone,
I'm having trouble getting a code snipped to compile on my copy of VS 2003.
This code compiles under GNU GCC 3.1 (which is ANSI-compliant) but will not
under VS 2003:
<quote>
#include <fstream>
#include <strstream>
#include <string>
class Logger
{
public:
class Mes... more >>
Is there a visual (graphical) thread tracking tool available?
Posted by Dave Leach at 11/4/2004 10:55:01 AM
Is there a debugging tool available for Visual Studio.NET that can display
threads running in an application written using C# and Visual Studio.NET?
On previous projects I have used VxWorks' WindView while debugging
multi-threaded applications. This tool was great for spotting unexpected
t... more >>
Error while trying to run project: Unable to start debugging on the web server
Posted by Mosh at 11/2/2004 8:40:31 AM
I was able to debug an asp.net application with no problems even after
installing xp sp2.
In the last few days I am getting "Error while trying to run project: Unable
to start debugging on the web server. Click help for more information" (no
additional infomration)
I followed all the sugge... more >>
|