Groups | Blog | Home
all groups > visual studio .net debugging > january 2004 >

visual studio .net debugging : Breakpoint move from one file to another



Luigi
1/12/2004 3:12:57 AM
I'm developing with Visual Studio .NET 2003 (version
7.1.3088) and I can't set breakpoints in files with the
same name. If I try to set a breakpoint with F9, VS shows
the bp set in the correct row but in the file with same
name in the different namespace! If I set a bp in a file
with unique name the bp shows the question mark and "No
symbols have been loaded for this document".
I found this problem on other posts but the "rename"
doesn't affect: I still can't set breakpoints.
The project properties->build->generate debugging
informations are all set true, the .pdb files are update
and the Debug->Modules windows shows Symbols loaded in all
my dlls and exe. In the output window all my files are
shown with "Symbol loaded" message.
It behave exactly like if symbols were not loaded.
robgruen NO[at]SPAM online.microsoft.com
1/12/2004 9:11:16 PM
Luigi,

Can we get some more information from you?
- What language are you developing
-What types of projects are you using?
- Do you have some steps you could post that would show how to reproduce
the behavior? (I tried to reproduce but was unable to)


Thanks! Robert Gruen
Microsoft, VB.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Luigi" <anonymous@discussions.microsoft.com>
| Sender: "Luigi" <anonymous@discussions.microsoft.com>
| Subject: Breakpoint move from one file to another
| Date: Mon, 12 Jan 2004 03:12:57 -0800
| Lines: 16
| Message-ID: <068401c3d8fd$089fc600$a301280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcPY/Qid6VhrNvykSha9PyR5C4bZTQ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.vsnet.debugging
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.debugging:4583
| NNTP-Posting-Host: tk2msftngxa11.phx.gbl 10.40.1.163
| X-Tomcat-NG: microsoft.public.vsnet.debugging
|
| I'm developing with Visual Studio .NET 2003 (version
| 7.1.3088) and I can't set breakpoints in files with the
| same name. If I try to set a breakpoint with F9, VS shows
| the bp set in the correct row but in the file with same
| name in the different namespace! If I set a bp in a file
| with unique name the bp shows the question mark and "No
| symbols have been loaded for this document".
| I found this problem on other posts but the "rename"
| doesn't affect: I still can't set breakpoints.
| The project properties->build->generate debugging
| informations are all set true, the .pdb files are update
| and the Debug->Modules windows shows Symbols loaded in all
| my dlls and exe. In the output window all my files are
| shown with "Symbol loaded" message.
| It behave exactly like if symbols were not loaded.
| Thanks in advance.
|
Luigi
1/13/2004 12:41:49 AM
Hi Robert
thanks a lot for your response.
Here are the informations:

[quoted text, click to view]
I'm developing a pocketpc application in c# with .net
compact framework 1.1 (1.1.4322)

[quoted text, click to view]
My solution consist of 5 projects, all build with
debugging informations on.

[quoted text, click to view]

The problem is in one of these 5 projects (B), which
extends a lot of classe from another (A), using the same
directory structure and filenames. The classes are build
correctly and the code is executed correctly too but when
I try to put a breakpoint (when debugging) in a file from
the project B the VS jumps to the same line in the same
file in the project A and set the breakpoint there! This
breakpoint is obviously not executed because the class in
A is overridden by the B class.
If I try to set a breakpoint in a B file which does not
exist in A, the VS shows the question mark
with "breakpoint will not currently be hit...".

The pdb files timestamp are correct.

I don't understand this behaviour at all!

I hope this information is enough.

Luigi
1/19/2004 1:51:05 AM
After creating a new solution and re-opening the one with the problem, the debugger starts to work correctly!!!!!!
An information:
AddThis Social Bookmark Button