all groups > visual studio .net debugging > may 2004
Filter by week: 1 2 3 4 5
debugging only from within your source code
Posted by Mike D at 5/31/2004 11:21:46 PM
Greetings, I was wondering if it was possible to configure the debugger only
to stay within my own project source files and not go into classes such as
CString when i'm stepping into source code.
Thanks in advance,
Mike
... more >>
Visual studio help is not installed
Posted by flagisup at 5/30/2004 10:11:03 AM
I have just installed VS.NET 2003 and loaded the msdn subscriptions library(3 cds). Whenever I click on the F1 or go into th help menu on the tool bar. I get the message that VS help is not installed. However, when the dialog box is closed the help comes up just find. Can this erroneous message be s... more >>
Another "Error while trying to run the project"
Posted by Peter Ka at 5/28/2004 6:03:54 PM
Hi,
I have read carefully all postings here regarding this problem and tried
various solutions which were given here. To no avail.
Briefly, when I try to debug ASP.NET application I'm receiving "Error while
trying to run the project". Just that, no further explanations, details or
suggestio... more >>
stepping through methods in a class marked with the DebuggerStepThroughAttribute
Posted by John Lau at 5/28/2004 11:49:07 AM
Hello,
I get the following error when I try to mark a property statement with the
DebuggerStepThroughAttribute attribute.
"Attribute 'DebuggerStepThroughAttribute' cannot be applied to
'myPropertyName' because the attribute is not valid on this declaration
type."
My workaround was to mar... more >>
name space "Microsoft.WindowsCE.Form" is not found
Posted by ginee at 5/26/2004 12:46:03 AM
Hi all,
While i try to build a example c# project, i get a error message "The type or namespace name 'Microsoft' could not be found (are you missing a using directive or an assembly reference?)". This error occures in "using Microsoft.WindowCE
..Form".
I am installing .net visual studio 2003 and... more >>
Add Watch then break when value of watched variable is true
Posted by Lenny at 5/25/2004 3:56:04 PM
Hello
VB 6 has this feature where one could add watch on a variable and have it "Break" when variable=value is true or when variable's value changes. Is this feature removed from VS.NET. Will it be reintroduced in the next version
Thank yo
... more >>
OutputDebugString not shown when "Enable unmanaged debugging" off
Posted by Alan Cobb at 5/23/2004 5:26:16 PM
Hi,
I have a VS2003 solution that uses a main CS project that calls
an unmanaged CPP (UMCPP) DLL. That UMCPP DLL does some
output at critical times via OutputDebugString. VS.NET's
debugger shows the output in its output window as long as
"Enable managed debugging" is turned on. But whe... more >>
web.config not applicable to webservices?
Posted by TR at 5/23/2004 1:31:07 PM
In my ASP.NET apps, I put the SQL connection string in the web.config
file:
<configuration>
<appSettings>
<add key="ConnectionString" value="Data Source=myhost\myserver;Initial
Catalog=DB1;User Id=SQLUSER100;Password=mypassword;"/>
</appSettings>
<system.web>
</system.web>
</configurati... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Unable to debug VB.NET Windows Forms App
Posted by Jim Paton at 5/22/2004 8:33:35 PM
Got a simple, single form VB.NET test application that builds with no
warnings or errors.
If I Start without Debugging (Ctrl+F5) the application runs with no
problems, but if I select any of the other options, i.e. Start, Step Into,
the IDE hangs.
If I fire up the task manager, my applicati... more >>
debugging errors
Posted by mfish at 5/22/2004 10:46:03 AM
I keep getting erros when I try to step through the code and debug. It runs and gives a webpage with the following message. The following was cut and pasted
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please ... more >>
Windows App - Unable to start debugging
Posted by Richard at 5/21/2004 8:21:05 AM
While reading a Microsoft article on how to apply XP styles to my VB.NET project (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp)
I tried building the example project and including the manifest file ... more >>
Debug Dll Class Library
Posted by Ai at 5/21/2004 5:31:04 AM
H
We are using another dll class library with reflection during the execution of our application. We do have both the source and compiled binary code of the dll. When starting the application debug, how can I enable the debug of this dll class library?
Ai... more >>
There is no source code available for the current location.
Posted by Peter Afonin at 5/19/2004 4:44:28 PM
Hello:
I was always getting sometimes this error while debugging ASP.Net project in
VS.Net 2003: "There is no source code available for the current location.",
but recently I started getting it so often that I almost cannot debug at
all. What could cause this? Is there a way to fix the situati... more >>
How do I debug a Web Service
Posted by Kudah at 5/19/2004 1:41:05 AM
Hi
I have a .net web application consuming a web service. I need to debug the webservice by going through the web application during debug time. How do I do this
Tn
... more >>
Asynchronous method call never fires when running under the debugger.
Posted by bill at 5/18/2004 5:56:08 AM
I'm having trouble running the following code under the debugger (although it works correctly when it runs normally). The code calls a simple "Hello World" web service asynchronously and prints "Hello World" to the screen. My problem is that when I run it under the debugger the HelloWorldCallback ... more >>
HELP! my breakpoints aren't in sync with my source code !
Posted by anon at 5/17/2004 8:13:54 PM
Recently I have noticed some weirdness with my .NET2003 visual studio IDE...
I am writing some ATL code in a header file ... and when I try to set a
breakpoint on a particular line inside an inlined function .. I then run the
app in the debugger as usual and the breakpoint gets hit - BUT - the ID... more >>
Debug TRACE style output wihout leaving literal strings in binary
Posted by Pieter at 5/17/2004 3:33:03 PM
I am researching any techniques to use simle TRACE type macros to output
debug strings from binaries at runtime, but, to do so without any literal
strings remaining in the binary.
E.g.
TRACE(_T("Some sensitive context text e.g. a function name %s\n"),
szSomeParameter);
But the resulting bina... more >>
VB.NET 2002
Posted by Steve Hord at 5/16/2004 11:27:08 AM
I have the first Visual Studio .NET release (2002) and
when I use Visual Basic.NET I cannot add several of the
objects from the toolbox. For instance when I attempt to
add a plain textbox I receive a popup stating, "External
component has thrown an exception." and the textbox will
not app... more >>
NoStepInto under VS2003 for unmanaged CPP project in managed solution?
Posted by Alan Cobb at 5/15/2004 5:28:04 PM
Hi,
The undocumented "NoStepInto" capability of VS2003 / 7.1
doesn't seem to work if I have an overall managed solution
that is calling a legacy unmanaged CPP (UMCPP) DLL project.
Here is some background on the "NoStepInto" feature:
http://weblogs.asp.net/andypennell/archive/2004/02/06.as... more >>
Debugging and Microsoft Develoopment Environment
Posted by Skippy at 5/14/2004 5:41:02 PM
I have Windows XP, Pentium 3, IE6
For the past few weeks, I'm getting "Run time error Line xx (number of line). Do you want to debug?
It happens 10-20 times an evening. I can't stomp the boxes out fast enough. Had computer into shop and they took off 4 viruses but couldn't stop the debug box f... more >>
how to debug the process created by the process which is being debug by the VsualSudio?
Posted by booker at 5/14/2004 12:57:08 PM
The following is cut from CreateProcess function of MSDN document;
----------------
DEBUG_ONLY_THIS_PROCESS
If this flag is not set and the calling process is being debugged, the new
process becomes another process being debugged by the calling process's
debugger. If the calling process is not ... more >>
Can't debug stored procs
Posted by lionhouse NO[at]SPAM nospam.nospam at 5/14/2004 12:01:04 AM
I have been able to debug stored procedures fine from the Visual Studio.NET IDE. However it ha
suddenly stopped working. 2 things have changed on my computer, the name of the computer has changed
and I have changed domains. However I am still a domain administrator
The stored procedure runs fine... more >>
difficult debugging client-side script in vs.net
Posted by scott NO[at]SPAM drugstore.com at 5/13/2004 4:53:44 PM
greetings!
i am having difficulty debugging client-side script. in a nutshell,
the problem is that a) when i attach to iexplore.exe there are no
documents in the running documents pane and b) debugger; statements do
not cause the code to break into the debugger. likewise, when i try
to "ope... more >>
Debugging VC++ DLL under VS.NET 2003
Posted by Wael Bakr at 5/13/2004 2:54:18 PM
Dear all,
Is there any way I can debug a DLL VC++ file while calling it from another
VC++ application using VS.NET 2003
--
Best regards
Wael Bakr
... more >>
Hang on Breakpoints, Sometimes
Posted by JimMc at 5/13/2004 2:11:04 PM
This is really a continuation of the topic above. I have discovered that if I set a breakpoint early in the application, when things are just getting initialized but the first form has not been displayed, then everything works as it should. If I set a breakpoint within a button click event routine... more >>
Qestion on debugging DLL
Posted by Frada at 5/13/2004 4:26:03 AM
Hi
I know this question might be silly
But, is there any way that we can debug .dll file (that
was made by C++) in C# under Visual Studio .NET
I'd appreciate your reply
Best regards
... more >>
Visual Studio stops debugging when moving or locking taskbar
Posted by Jeffry van de Vuurst at 5/12/2004 2:34:38 PM
Hi,
I noticed very strange behaviour while debugging my asp.net project. I start
my asp.net project in debugging mode. My web app opens in IE. I then lock or
unlock my taskbar, or I resize my taskbar. Visual Studio then stops with
debugging, but the web app still functions. However, I'm unable... more >>
Trace Info overwrites web controls
Posted by Pazza at 5/12/2004 6:26:02 AM
Hi
I have set the page directive trace="true"
When I run my page and it only contains html controls the trace information appears after the controls which is what I'd expect
However, when I run my page and it contains web controls the trace information is output not at the end but over the top... more >>
Debug Problem - There is no source code available for the current location
Posted by Richard at 5/12/2004 4:06:04 AM
While debugging my VB.NET application, I get to a certain point and get an error message pop up saying:
There is no source code available for the current location
I have searched the MS Knowledge base and found the article 318367 (http://support.microsoft.com/default.aspx?scid=kb;en-us;318367) w... more >>
Can not enable JIT debugging
Posted by Yuan Ze at 5/11/2004 4:44:42 PM
I can't enable JIT debugging for an application written in C#. This app
depends on some Mixed Mode managed C++ Libs. When exceptions generated in
it, no JIT debugger invoked. Only the default dialog box shows up. I have
enabled JIT debugging for window forms in machine.config and app.exe.config,
... more >>
App uses more memory when running in the debugger (VC60 Release build).
Posted by BigBen at 5/10/2004 4:06:09 PM
Hi,
when I run my program in the Visual Studio Debugger (MSVC++ 6.0) it uses
much more memory than when I run the program without the debugger. This
happens when running the identical program (a Release build).
When I run the program on a small dataset the program uses about 68MB of
memo... more >>
No symbols have been loaded for this document.
Posted by gswift NO[at]SPAM state.wy.us at 5/9/2004 1:52:43 PM
I'm having trouble getting VS to debug my web application. Where I'm
at:
Configuration Properties:
Debugging: ASP.net debugging - Enabled
Build: Generate debugging info - Enabled
--I have deleted both the .dll and the .pdb file and did a rebuild to
ensure that they we... more >>
ACT could not start
Posted by Kevin Burton at 5/7/2004 8:21:10 PM
I am starting to use Application Center Test (ACT) and I recorded a browser session but when I go to run it I get
Test 'LoginTest.vbs' starting at 5/7/2004 10:09:15 PM
Test 'LoginTest.vbs' could not start. (0x80041013
I tried to lookup the error but errlook.exe could not resolve the error. Any... more >>
Unable to run my application in debug mode using VS .NET
Posted by garf at 5/7/2004 10:01:07 AM
When I try running my application in debug mode it hangs while loading up the DLL's, it doesn't even get to the DLL initializations, the only way out is by killing it through the task manager
My application runs fine not in debug mode.... more >>
IDE debugger not working for one project
Posted by Joel Moore at 5/5/2004 1:34:18 PM
I'm working with a VB.NET project that refuses to invoke the IDE's
debugger. Whenever there's an unhandled exception I get a dialog that
displays the stack trace and gives instructions on how to enable JIT
debugging in the machine.config file. However this didn't work (also I
don't think t... more >>
error while trying to run project:unable to start debugging on the web server
Posted by kishan gupta via .NET 247 at 5/5/2004 7:40:30 AM
(Type your message here)
today i am trying to run a project asp.net application of c# and when i run it it is giving a error like in this way " error while trying to run project : unable to start debugging on the web server. the project is not configured to be debugged"
i have checked IIS service... more >>
debugging problem in .net using .net
Posted by soumendra at 5/5/2004 3:11:05 AM
hi
i am Soumendra presently working on .net using C# ... am having problem with the debugger it displays some "catastropic faliure " whenever i press F5
thanks and regard
soumendra... more >>
debug in VS .Net
Posted by salam at 5/4/2004 4:03:55 PM
When I hit debug in VS .Net IDE, I get the fiollowing error.
-------------------------------------------------
Error while trying to ruin project : Unable to start debugging on the web
server. could not start ASP.Net or ATL
Server debugging
Verify that ASP.Net or ATL is correctly installed on ... more >>
New version of Unable to Start Debugging on the Web Server
Posted by scott.cornell NO[at]SPAM match.com at 5/4/2004 8:24:14 AM
Recently I accidentally downloaded some adware called
VX2.BetterInternet onto my Windows 2003 server which I use for
development. After getting rid of the adware, I discovered that it
had killed my Visual Studio debugger. I was getting a message not
found in the http://www.gotdotnet.com/team/c... more >>
picturebox and imagelist
Posted by michael at 5/2/2004 9:20:09 PM
Hi,
When I run the following line in VB.NET:
oPicture.Image = New Bitmap(imagePath & "images\" &
sImage)
the application works on the development machine, but
fails when the setup is deployed on the target machine
(win 2000 server - but we will be deploying to winXP and
win2000 pro also... more >>
Error while trying to run project
Posted by Jon at 5/1/2004 10:51:02 AM
Hi all
i encountered a problem will trying to run a C# Project (ASP.net Web Application). When i click 'start without debugging', it throws me an error
*******************************************
Error while trying to run project: Unable to start debugging
Unable to start program 'display some ... more >>
|