473,847 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debug symbols VS 2005

I'm starting up the development server myself and using the "Startup Url"
property of the web project. The problem is i cannot debug. The debug
symbols are never loaded. I realize they are under the temporary internet
files folder but I have even tried using the new depoloyment addin-in but
that does not seem to work either. There is a /bin folder with the debug
symboles in there but it still does not load them up

How can i include the debug symbols so that i can debug this?

appreciate any help
Nov 20 '05 #1
8 1925
Do you have debug="true" in the <compilation> section of web.config ?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 19 Nov 2005 14:13:35 -0600, <ci***@noemail. noemail> wrote:
I'm starting up the development server myself and using the "Startup Url"
property of the web project. The problem is i cannot debug. The debug
symbols are never loaded. I realize they are under the temporary internet
files folder but I have even tried using the new depoloyment addin-in but
that does not seem to work either. There is a /bin folder with the debug
symboles in there but it still does not load them up

How can i include the debug symbols so that i can debug this?

appreciate any help


Nov 20 '05 #2
yes i do. What i basically do is start up the development server myself

webdev.webserve r.exe /port:9090 /path:"c:\...."

This lets me go through the program as http://localhost:9090/

Properties of the website has the StartUrl as http://localhost:9090/

Now everything works great when i click on start except the debug symbols
are not loaded. I installed that new publishing add-in. Published to another
directory which includes the debug symbols but it still will not work. I'm
guessing that the temporary internet directory still has something in there
that i need.

VS 2k5 seems to launch development server with debug symbols. I'm at a loss
at this point.



"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:nh******** *************** *********@4ax.c om...
Do you have debug="true" in the <compilation> section of web.config ?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 19 Nov 2005 14:13:35 -0600, <ci***@noemail. noemail> wrote:
I'm starting up the development server myself and using the "Startup Url"
property of the web project. The problem is i cannot debug. The debug
symbols are never loaded. I realize they are under the temporary internet
files folder but I have even tried using the new depoloyment addin-in but
that does not seem to work either. There is a /bin folder with the debug
symboles in there but it still does not load them up

How can i include the debug symbols so that i can debug this?

appreciate any help

Nov 20 '05 #3
On Sun, 20 Nov 2005 13:16:25 -0600, <ci***@noemail. noemail> wrote:

VS 2k5 seems to launch development server with debug symbols. I'm at a loss
at this point.


Sorry, cisco. I'm not sure what could be happening.
--
Scott
http://www.OdeToCode.com/blogs/scott/

Nov 21 '05 #4
Hi Cisco,

Welcome to MSDN newsgroup!

Based on my understanding, your problem is that the debug symbols are not
loaded when you debugging. If I have misunderstood something, please let me
know.
For the current issue, I want to confirm something first. Could your
breakpoint works well when debugging? If possible, can you create the
winform project for testing to confirm whether the system symbols are
loaded?
Additionally, could you provide the output information when you are
debugging your web project? It's important for us to get some details about
your issue.

Thanks, I'm looking forward your reply!

Yuan Ren [MSFT]
Microsoft Online Support

Nov 21 '05 #5
Yuan,

Thanks for your reply. So you want me to create a winforms app to see if
debugging is ok on my box? Debugging under visual studio 2005 works fine by
default. If create a new web project(file system) and try to debug it works
just fine. This is also true for console and winforms applications.

See what i'm trying to do is so that when i click on start(debug) it does
not start up development server with http://localhost:{port }/webprojectname
but rather http://localhost:{port }. I managed to do this by starting the
development server myself through a batch file. I setup the Start Url of the
web project to http://localhost:{port }. When i start the debug session it
seems to hit http://localhost:{port } just fine but a breakpoint will tell me
that sybmols have no been loaded yet. If i switch back to "Use Current
Page", under project properties, it will hit those breakpoints fine.

I have insalled the "web deployment project" plugin and have used it to
deploy to a different directory. This directory has the /bin folder and the
..pdb file(i'm merging the assemblies). I then tried to use this deployment
directory as the input to the web development server but no such luck. It
does not hit the breakpoints. ( I have also used the directory that i'm
developing under )

webdev.webserve r.exe /port:9090 /path:"{path to deployment directory}"

Appreciate any help,
Cisco


""Yuan Ren[MSFT]"" <v-****@microsoft. com> wrote in message
news:Zs******** *****@TK2MSFTNG XA02.phx.gbl...
Hi Cisco,

Welcome to MSDN newsgroup!

Based on my understanding, your problem is that the debug symbols are not
loaded when you debugging. If I have misunderstood something, please let
me
know.
For the current issue, I want to confirm something first. Could your
breakpoint works well when debugging? If possible, can you create the
winform project for testing to confirm whether the system symbols are
loaded?
Additionally, could you provide the output information when you are
debugging your web project? It's important for us to get some details
about
your issue.

Thanks, I'm looking forward your reply!

Yuan Ren [MSFT]
Microsoft Online Support

Nov 21 '05 #6
After i sent this out i re-read your statement about the output window. I
kept looking at the build output before but now i looked at the .dlls being
loaded. The temporary internet files said that 'just my code' option was
keeping them from loading. So i turned off debug 'just my code'. I've been
programming in vs 2005 for few whole days... i can debug the framework if i
want to! :)

This seemed to work? I put a question mark because it didn't hit the OnLoad
breakpoint in the master page. I then thought to myself that if do a
"deploy" on the application then it will probably optimize this and will not
treat it as 'my code'[1]( i'm guessing ). I figured something weird was
going on there with those xml files that point to the source code. So i
decided to startup the web development server in the directory that i'm
developing in. It is still working even with 'debug just my code' back on.

I did change the 'Use custom server' to http://localhost{port} . If i change
this back to 'use default web server' it doesn't work anymore. I'm SURE i
set this before and it did not work. At this point i can take it that i'm
going a bit crazy.

So basically right now i have 'debug just my code' on. I have the web
development server starting up on the directory that my web project is
in(file system mode). I have Start Url and have custom server point to
http://localhost:{port }.
So this should be all that i need in order to debug my application through
http://localhost:{port }? There is nothing special i need to do for the debug
symbols to load? How exactly are the debug symbols being loaded by debugger
from temporary internet folder? I guess i should read some more...

P.S. I'm spending tommorrow reading up all the articles on Scott Alen's
blog! So far so good!

[1]
http://blogs.msdn.com/greggm/archive...29/201315.aspx

Cisco

<ci***@noemail. noemail> wrote in message
news:uz******** ******@TK2MSFTN GP12.phx.gbl...
Yuan,

Thanks for your reply. So you want me to create a winforms app to see if
debugging is ok on my box? Debugging under visual studio 2005 works fine
by default. If create a new web project(file system) and try to debug it
works just fine. This is also true for console and winforms applications.

See what i'm trying to do is so that when i click on start(debug) it does
not start up development server with
http://localhost:{port }/webprojectname but rather http://localhost:{port }.
I managed to do this by starting the development server myself through a
batch file. I setup the Start Url of the web project to
http://localhost:{port }. When i start the debug session it seems to hit
http://localhost:{port } just fine but a breakpoint will tell me that
sybmols have no been loaded yet. If i switch back to "Use Current Page",
under project properties, it will hit those breakpoints fine.

I have insalled the "web deployment project" plugin and have used it to
deploy to a different directory. This directory has the /bin folder and
the .pdb file(i'm merging the assemblies). I then tried to use this
deployment directory as the input to the web development server but no
such luck. It does not hit the breakpoints. ( I have also used the
directory that i'm developing under )

webdev.webserve r.exe /port:9090 /path:"{path to deployment directory}"

Appreciate any help,
Cisco


""Yuan Ren[MSFT]"" <v-****@microsoft. com> wrote in message
news:Zs******** *****@TK2MSFTNG XA02.phx.gbl...
Hi Cisco,

Welcome to MSDN newsgroup!

Based on my understanding, your problem is that the debug symbols are not
loaded when you debugging. If I have misunderstood something, please let
me
know.
For the current issue, I want to confirm something first. Could your
breakpoint works well when debugging? If possible, can you create the
winform project for testing to confirm whether the system symbols are
loaded?
Additionally, could you provide the output information when you are
debugging your web project? It's important for us to get some details
about
your issue.

Thanks, I'm looking forward your reply!

Yuan Ren [MSFT]
Microsoft Online Support


Nov 21 '05 #7
On Mon, 21 Nov 2005 01:13:48 -0600, <ci***@noemail. noemail> wrote:

So this should be all that i need in order to debug my application through
http://localhost:{port }? There is nothing special i need to do for the debug
symbols to load? How exactly are the debug symbols being loaded by debugger
from temporary internet folder? I guess i should read some more...

One way to troubleshoot symbol loading problems is to open up the
"Modules" window while the debugger is running (Debug -> Windows ->
Modules). This window can tell you:

a) What assemblies are loaded
b) If the assemblies are considered "My Code"
c) If symbols are loaded.

You can also click on a module and get a symbol status, that can tell
you where the debugger is looking for the symbols.

P.S. I'm spending tommorrow reading up all the articles on Scott Alen's
blog! So far so good!


Cool! Thanks! ;)

--
Scott
http://www.OdeToCode.com/blogs/scott/

Nov 21 '05 #8
Hi Cisco,

Thanks for your posting!

It seems the Scott's blog gives you more help for the current issue. If you
have any other concern, please feel you free to let me know, I'm glad to be
of the future assistance!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support

Nov 23 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3474
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as references, so that when I compile the project, the dll files and corresponding pdb files are are automatically copied to the bin\debug directory of my application. When I look at the Modules window during debugging, it seems that the debug symbols for...
9
31941
by: Maksim Kasimov | last post by:
Hello, my programm sometime gives "Segmentation fault" message (no matter how long the programm had run (1 day or 2 weeks). And there is nothing in log-files that can points the problem. My question is how it possible to find out where is the problem in the code? Thanks for any help. Python 2.2.3 FreeBSD -- Best regards,
1
2565
by: Eric Robert | last post by:
Hi, I am writing a C# application that uses a C++ unmanaged DLL. When I turn the unmanaged debug option ON, the application is much slower to start and the unmanaged code is very slow to debug. Is it normal? Eric Robert
5
5366
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of the DLL. If I do a 'Batch Build' and select both Debug and Relase versions for building it will build the debug version but throws up errors for the Release version. For example, the output I get for a Batch Build is this - ...
5
2951
by: asdf | last post by:
Hello, I was enjoying working in VS for half a year without any problems and now I cannot debug anymore. Without any really reason my Studio tells me that the page that I want to debug has - No symbols loaded. I use VS v1.7.3088 and .NET framework v1.1.4322 SP1. I work with ASP.NET using VB and I'm trying to set a breakpoint on the ascx.vb file.
10
1929
by: Brett | last post by:
For some reason when I step into the code below, it jumps out on the second iteration at the line I have marked below. Nothing else happens - no errors. Dim tcpClient As New System.Net.Sockets.TcpClient tcpClient.Connect("127.0.0.1", 9005) While True Dim networkStream As NetworkStream = tcpClient.GetStream()
3
4255
by: Bardo | last post by:
Hi all, We are trying to debug an assembly which was built in debug configuration on our build server. The output window of visual studio indicates that no symbols are being loaded for the assembly. However, when the PDB file is copied alongside the dll, the symbols load ok. We were a little confused, because we had already been debugging this assembly WITHOUT copying the pdb file. What I discovered was that when the assembly is built...
2
1854
by: Joe Stateson | last post by:
I added ajax to an existing web project. It runs fine but hitting F5 (debug) in Visual Studio 2005 slowly consumes resources: Kernel Memory and System Cache grow and I start seeing "Loading symbols for C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0___\System.Web.Extensions.dll" in the VS2005 footer. After several hours of coding and debugging it can take 2 minutes before that "loading symbols" finally finishes. ...
1
2160
by: sonnyz | last post by:
Hi everyone, (Using Visual Studio 2005) Assume I have a project with a single class named "MyClass.cs" and a setup project in the same solution. I know that if I want to include the debug symbols (MyClass.pdb) for that class in the installer then I add "Debug Symbols" to the Application folder. Thats the easy part. Next assume I am referencing a dll named "YourClass.dll" in the project. When I build the project I see 4 files in the debug...
0
9890
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9733
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10990
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10715
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10346
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9489
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5724
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5914
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4126
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.