all groups > visual studio .net debugging > june 2007
visutal studio.net 2005 debugging question
Posted by Wendy Elizabeth at 6/28/2007 5:50:00 PM
I have a question about setting up visual studio.net 2005 professional
version to debug with a sql server 2000 database. The visual studio.net 2005
is on my workstation and the sql server 2000 databases are on two separate
window server boxes.
My goal is to debug some t-sql commands. To ... more >>
Break all processes when one process breaks not working
Posted by Mike Blake-Knox at 6/28/2007 12:54:32 PM
I'm using Visual Studio 2005 to debug multi-threaded applications
(C#, Windows Forms and Console). I'm finding that the "Break all
processes when one process breaks" doesn't always work. Initially, I
found that while single stepping through the application (with the
current thread continuous... more >>
debugger out of sync with source code, not the cr/lf problem
Posted by Brad Langhorst at 6/26/2007 9:27:00 AM
I done some googling and ran across this link which explains what
seems to happen to me:
http://support.microsoft.com/kb/328784/en-us
I'm using vb.net not C++ though, and I just checked my source
files, .resx and .aspx for mixed line endings (they're all cr/lf).
I've rebuild the pdb f... more >>
attach to windows form app (release mode)
Posted by paul at 6/25/2007 7:24:00 PM
I have simplified to this test example:
1. build a very simple c# windows form app in vs2005
2. add a button which basically causes an infinite loop w/ a few sleeps
to be nice
private void button1_Click( object sender, EventArgs e )
{
long l = 0;
while ( l < 100000000000 )... more >>
Code vs Debug Information Misalignment
Posted by Vasic at 6/21/2007 12:58:00 PM
I've got this SDI MFC Doc/View structured application that I've inherited
from someone else. When I run the code and put a breakpoint in Initinstance,
the break point moves to non-executable code. Sometimes the stepping tool
will be off by 10 lines. I've tried cleaning and rebuilding. I've ... more >>
thrown exceptions
Posted by Koen Plessers at 6/21/2007 12:00:00 AM
In managed code (C#) I am unable to have the debugger stop when an exception
is thrown. I am running XP SP2 with VS 2005 SP1. It works fine when
launching a program with F5 but whenever attaching to a process already
running the debugger never stops. If, after the exception has been thrown
y... more >>
is there a way to validate heap on release application
Posted by Voronkov Konstantin at 6/19/2007 8:51:55 PM
Hello, All!
I suppose there is a bug in mine applicaiton and some random bytes is
written into stack memory (memory overflow).
I found a tool to validate heap gflags.exe, but unfortunatelly it does not
validate stack overflow problem.
Is there any tool to help analysis the problem?
B... more >>
Step into does not work
Posted by Ton at 6/18/2007 8:28:02 AM
I'm using VB.NET for webforms as windows forms. I come from vb6 and the Step
into feature (F8 in vb6) was a big plus in debugging the software.
When I use the step into in VS.NET i have to click several times to get the
same result. Example:
x=4 (1 click)
y=2 (1 click)
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dll not found - VS2005 Not Releasing dll?
Posted by randy1200 at 6/15/2007 11:18:01 AM
I have a solution with 18 projects in it. If I compile the entire solution,
shutdown/restart VS2005, then Rebuild All again (no Clean performed), I get
compile errors as follows:
two.dll could not be found
three.dll could not be found
Unable to copy file "three.dll". Access to path denied.
... more >>
"There is no source code available..." question.
Posted by Bobzilla at 6/14/2007 9:04:18 AM
Ok, so I've looked around and I can't seem to find an answer to my
specific question, so here goes...
I am using VS 2003 and I have a solution with code and all that I am
steping through. When I get to a certain spot I get the "There is no
source code available for the current location." erro... more >>
help: debugging file-system referenced projects
Posted by spacemarine NO[at]SPAM mailinator.com at 6/11/2007 1:34:37 PM
hello,
im hoping someone may be able to help me w/ arranging my debugging.
im working on a winform app that uses a few in-house assemblies of
related code -- other VS.NET projects/solutions, which i have locally.
however these other solutions are not referenced as projects, but
as .DL... more >>
Data breakpoint in VS2005
Posted by Coward 9 at 6/9/2007 10:45:57 PM
HI,
I have a large managed applicaiton. Somewhere, a pointer is being set
NULL. I understand that memory data may keep on moving for managed
applicaitons.
But, how do you experts deal with this kind of problem?
Thanks,
... more >>
Weird QuickWatch behavior in VS 2005 SP1
Posted by Gaetan at 6/7/2007 11:16:33 PM
I am in the process of debugging a WebService application and I noticed a very unusual behavior with
the debugger ...the value assignments does not take effect. Something like this has no effect on
the content of the class member "Description" which is defined as a string:
void myMethod(ref My... more >>
exception debugging behavior in threads
Posted by Chuck P at 6/6/2007 8:16:00 AM
When I run the following code and I single step the debugger it just keeps
bouncing on the last line; the time changes everytime so I assume it is
getting called again and again.
protected void Button1_Click(object sender, EventArgs e)
{
Thread th = new Thread(new ThreadStart(... more >>
An unhandled win32 exception occured in <Project_name>.vshost.exe
Posted by Ante Maric at 6/4/2007 12:00:00 AM
Hi,
i have problem with debugging. Almost every time when my application
encounters an error "Visual Studio Just-In-Time Debugger" window pops up
with message : "An unhandled win32 exception occured in
<Project_name>.vshost.exe instead of breaking into the line of code that has
the error.... more >>
Unable to Debug : Thread Abort Exception
Posted by Ganesha at 6/1/2007 5:24:48 AM
during debugging if i wait for 20 secs also , i get the tread abort
exception and then i am unable to debug, anyone knows the problem.
... more >>
Automatically re-enable breakpoints
Posted by muriwai at 6/1/2007 12:00:00 AM
Hi,
When I debug unmanaged C++ and put breakpoints say in system modules such as
kernel32, when I restart the application the breakpoints get disabled and I
have to re-enable them manually. How can I make Visual Studio 2005 not to
disable the breakpoints, or re-enable them automatically?
... more >>
Is possible to get the ARM register value by debugger.GetExpression()?
Posted by Terry at 6/1/2007 12:00:00 AM
Hi everyone,
I want to write a vs2005 plugin which need to get the register value
on a remote device(ARM), is possible to do by
debugger.GetExpression()? or some other ways?
]Thanks!
--TP
... more >>
|