all groups > visual studio .net debugging > june 2006
Filter by week: 1 2 3 4 5
Creating extra classes
Posted by Nathan Sokalski at 6/30/2006 2:13:45 AM
I recently upgraded from VS 2003 to VS 2005. In VS 2003 all I had to do to
make an extra class was put the following in a *.vb file:
Imports System.Web.UI
Imports System.Web.UI.WebControls
Public Class MiscExtras
Public Shared Sub AddRollover(ByVal img As Web.UI.WebControls.Image,
By... more >>
Opening projects from VS 2003 in VS 2005
Posted by Nathan Sokalski at 6/29/2006 5:07:20 PM
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
I have several projects that I created in Visual Studio .NET 2003, but when
I try to open them in Visual Studio .NET 2005 it tries to force me to
convert them. for some of these it would be fine, but some of them run ... more >>
Trace Viewer Tool
Posted by Mr. BogoMips at 6/28/2006 8:20:02 PM
Hi Folks,
I was wondering if already exists a visual tool to examine a trace file
generated with some tracelistener.
I'm specifically thinking to a visual tool to manage the output generated by
the XmlWriterTraceListener.
Thanx in advance... more >>
VS2005 Slow Debugging
Posted by Harolds at 6/28/2006 1:58:02 PM
Everytime line of code I step through (f10) Filemon.exe shows the following 6
lines twice for every project in my solution:
1:48:35 PM devenv.exe:2728 QUERY
INFORMATION C:\Projects\TRSites\TRC.Data\obj\Debug\TRC.Data.dll SUCCESS Attributes: A
1:48:35
PM devenv.exe:2728 OPEN C:\Projects\... more >>
VS2003/VSTO debugging fails after installing VS2005
Posted by George at 6/27/2006 10:02:01 AM
Has anyone experienced issues after having installed VS2005 with TeamShare on
top of a system that previously had working versions of VS2003, VSTO 2003,
and MS Office Professional 2003(SP1) installed ? I've just installed VS2005
with TeamShare, and since then, I've been unable to debug our W... more >>
unable to attach the process
Posted by SenthilVel at 6/26/2006 6:00:39 PM
Hi
I have a question when debugging dotnet code when attaching vb6.exe code =
to this process.
i get an error like :
unable to attach the process. there is no managed code running in the =
process. INorder to attach a process with the .NET Debugger, managed =
code must be running in the ... more >>
Another breakpoint problem...
Posted by objectref at 6/23/2006 12:00:00 AM
Hi to all,
i am (at least try to...) debugging a solution i created.
This is a main windows project and it reference a .dll project, both are in
the same solution.
When i set a breakpoint in the .dll project, the breakpoint will not be ever
hited and it tells me
"the breakpoint will not be... more >>
change the Border color of Drop Down List (Server Control) in ASP.
Posted by Murali at 6/21/2006 11:41:02 PM
Dear Sir/madam,
Please let me know how to change the Border color of Drop Down List (Server
Control) in ASP.Net.
If I do programatically also not effecting the color.
E.g: DropDownList1.BorderColor = Color.Red
With regards,
Murali
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Analysing DrWatson
Posted by bilaribilari NO[at]SPAM yahoo.com at 6/20/2006 11:09:11 PM
Hello,
I have a huge application thats written in C and C++. I am using VS
..NET as the IDE.
The application throws a runtime error (unhandled exception) and I am
trying to find a pattern to these abnormal program termination.
I recently got my hands on the DrWatson log and the user.dmp file. O... more >>
Debugging ASP and VS2005
Posted by davidm at 6/19/2006 10:58:57 AM
I having trouble debugging (in VS2005) a classic ASP application that
calls a VS2005 class library.By setting the breakpoint in the ASP code
and using code type, script, and attaching to the dllhost.exe (using
IIS 5.0), I can break and debug in the ASP code (that I initiated
outside of the VS200... more >>
VS 2005 can't run in debug mode : 'binding handle invalid'
Posted by Bill Woodruff at 6/18/2006 12:00:00 AM
Hi,
I'm using a release VS 2005 Enterprise Arch. from an MSDN sub which has been
stable for months. The only installs I've done lately are the new WinFX
goodies, beta 2 flavor.
But I have not used them yet.
Suddenly, I can no longer run in debug mode. This happens with WinForm based
p... more >>
Debug slow in large methods
Posted by Stuart Carnie at 6/17/2006 3:52:04 PM
As an exercise, I have been porting a C64 emulator to C# to v2.0 of the runtime, and as is common with emulators, they tend to
have large switch statements for emulating the CPU instructions. When stepping through code in this method, the debug step speed
is horribly slow. In the same file, ot... more >>
Can't step over while debugging
Posted by eduwushu at 6/17/2006 2:40:01 AM
Appart from the problem i have published before there is another issue (i
dont know if it has some relationship with the later problem or not):
In some part of my program the debugger doesn't let me step over
instructions of the program
When i put brepoints in other code that is being execute... more >>
More information on my debgging problem
Posted by eduwushu at 6/17/2006 12:16:01 AM
I have been searching for information on what could be happening and i get
this:
When i start debugging my project the error message which syas that it is
built either with optimizated code etc etc appears.Then i open the modules
window while debugging and i go to see my project module and th... more >>
Cant debug without a rebuilding-all-operation
Posted by eduwushu at 6/16/2006 12:20:02 PM
I have a problem which i havent had till today. I dont know what can i have
done but now when i want to start debugging my project a window appears
telling me that there is no debugging information for my project (yes im
compiling it in debug mode)
But when i select the rebuild solution opti... more >>
declaring variables to avoid debugging warnings
Posted by jtencate at 6/16/2006 7:08:02 AM
I am working on bringing a program written in VS2003 and .net 1.1 over to
VS2005 and .net 2.0 and am running into a problem with some of my variables.
I am getting a warning message:
Variable <name> is used before it has been assigned. A null reference
exception could result at runtime.
... more >>
Strange dll load message while debugging
Posted by Mark Farmiloe at 6/16/2006 2:55:02 AM
I have an app I need to debug in VS2003 (.Net 1.1). It references only MS
..Net dll's. I'm singel-stepping through and execute this line:
XmlSerializer serializer = new XmlSerializer(typeof(History));
and the Output pane tells me this:
'DDES.exe': Loaded 'yjw3el-_', No symbols loaded.
the name... more >>
Batch execution is terminated because of debugger request.
Posted by James Vitale at 6/15/2006 1:17:41 PM
Visual Studio 2005 - ASP.NET 2.0 - SQL Server 2005
When debugging my web application I get the SqlException "Batch execution is
terminated because of debugger request." and it refuses to step into the
debugger. The first time I debug, it works fine, the second time it
generates the error. ... more >>
VS2005 Debugger freezes and terminates thread
Posted by Pascal Bouchard at 6/14/2006 4:18:55 PM
When debugging a Multi-threaded VS2005 C# with FW2.0 application, while a
breakpoint is reached and is debugged (using F10, F11), if another thread
throws an exception (even if it is handled properly), the debugger freezes
the currently debugged thread for a few seconds AND then terminates it.... more >>
vs2003 debugging not working for asp.net web app
Posted by John King at 6/14/2006 2:47:44 PM
hello,
I am unable to debug my asp.net webapp. When I select start under debug
menu I receive the following error.
Error while trying to run project: Unable to start debugging on the web
server.
I have reviewed everything that is listed under the help section. Error
still exists.
... more >>
breakpoints stored where ?
Posted by John A Grandy at 6/13/2006 3:21:23 PM
In which file(s) are stored breakpoint locations and the information
accumulated on breakpoints each time they are hit ?
... more >>
Warning: "Project will be debugged with specific security permissions"
Posted by Dave Sexton at 6/13/2006 10:05:41 AM
Hi,
Using VS.NET 2005 Team Edition for Software Developers I press F5 to build
my project and run in debug mode. After the build succeeds I receive the
following warning in a modal dialog:
The current project settings specify that the project will be debugged
with specific security per... more >>
Styles and images not rendered when debugging in VS 2005
Posted by John Ashmore at 6/11/2006 12:15:02 PM
I have built a web application using ASP.NET 2.0 master pages to store common
content. However, once I enabled Forms authentication in web.config, the
pages no render properly when running in debug mode. None of the images or
styles are displayed. I have tried to publish the application to ano... more >>
Debugging into inline code in a header file
Posted by Edward Diener at 6/10/2006 2:41:22 PM
Is it possible to debug into inline code in a header file ? I tried
setting a breakpoint in such code and, while the debugger allowed me to
set the breakpoint, the debugger never stopped in the header file.... more >>
Unable to set a debugger breakpoint on lines in a source file
Posted by Edward Diener at 6/10/2006 2:12:23 PM
I have an exe being debugged calling into a dll. Both have debugger
information turned on for them. After I start debugging the exe I open
one of the source files for the dll and attempt to set breakpoints. For
some of the member functions of a class in the dll I have no problems
setting a b... more >>
VS2005 debugger won't start
Posted by Jean Robert at 6/9/2006 9:51:12 AM
Hi, I just installed VS2005, plus SQL-Server 2005, on Windows 2003 Server.
I cannot start the a debugging session (in C#, VB.net and others). It always
gives me a message:
impossible to start the debugger : invalid link handle (i am translating
from my french version)
I had cheched all de... more >>
Can't debug SQL 2005 on same machine as VS 2005
Posted by James Vitale at 6/8/2006 12:21:29 AM
Using VS 2005 Webproject
SQL Server 2005 on same machine
SQL Server debugger checked on Start Options - Debuggers
When I try to step into a stored procedure through the Server Explorer, the
debugger never starts. My breakpoints go from solid red to hollow and the
tooltip has the following st... more >>
permission denied when I try to debug (vb2005)
Posted by alex at 6/6/2006 2:52:02 AM
I am new with web developement.
I use vb2005, win xp s2.
The current user does not have administrative privilege, but is memeber of
power users, VS developers, debugger users.
If I start the project, I get a message like this (in italian): unable to
start the debug on the web server: you don... more >>
Copy/Pasting From Visual Studio .NET as Text Only
Posted by Nathan Sokalski at 6/3/2006 11:07:28 PM
When I post to the microsoft.public newsgroups I often copy code from my
Visual Studio .NET projects to include in the posts. However, when I paste
the code into the post, it is in a different font, which I do not want, I
want it pasted as if I had copied it from NotePad. What I usually do as ... more >>
How to enable jitDebugging ?
Posted by dbaechtel at 6/3/2006 6:09:01 AM
I have a VB.Net application that I have built in VS2005. I built a deployment
setup file. When I run the application on another computer I get an exception
that a "specified module can not be found" in a dialog box. At the bottom of
the dialog box it says that to "enable jit Debugging in the .... more >>
Unable to debug client-side script
Posted by jerodschultz NO[at]SPAM ureach.com at 6/1/2006 11:39:00 AM
I am unable to debug client side javascript in internet explorer.
More specifically, when I call the following javascript code
<script>
function whatever()
{
debugger;
alert("whatever");
}
</scrip>
the debugger is not launched.
Also, I am unable to attach th... more >>
|