CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 8/28/2006 2:43:07 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Ziphyre
Asp.Net User
Debugging problem8/28/2006 2:43:07 PM

0/0

Hi,

I've got an intersting problem with debugging an ASP.NET application. The following piece of code is an integral part of a menu render method. I try to debug it with a breakpoint and a condition, but it jumps directly to the second instruction (line 5) in the if block. It is also a recursive method. I don't want to copy the whole method cause it's a little bit messy, but if you feel you need it, I'll just add it down.

  

1    //breakpoint to the if
2    if (childCat.HasChilds)
3    {
4        liElem.Attributes.Add("class", "SubMenu");
5        liElem.Controls.Add(CreateMenuXml(childCat.CD_CATEGORY.ToString(), level));                        
6        //first instruction executed after pressed F10 when the debugger
7        //is on if block
8    }

 
 One more thing, in my first attempts, i couldn't even place a breakpoint on line 4, VS let me place only on lines 2 and 5. I've solved this with a restart of VS??

 
Thanks. 


--
Ziphyre
bmains
Asp.Net User
Re: Debugging problem8/28/2006 4:32:12 PM

0/0

Hey,

Yes, that seems right, if you press F10 on the if, and it goes to that line, it is running; you may not be able to place a breakpoint there if it didn't build successfully; try rebuilding.  I don't know why it won't let you place a breakpoint, other than if it didn't build, it may think that line is a different line, based on the last known build.  I've had issues with that before... but usually during debugging, and not before I run it.

Check the output, that still should run fine, even though you can't put a breakpoint on it.


Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
3D Game Programming All in One Authors: Kenneth C. Finney, ebrary, Inc, Pages: 812, Published: 2004
Automated and Algorithmic Debugging: First International Workshop, AADEBUG '93, Linköping, Sweden, May 3-5, 1993 : Proceedings Authors: Peter A. Fritzson, Pages: 367, Published: 1993
Programming and Customizing the PIC Microcontroller Authors: Michael Predko, Myke Predko, Pages: 1263, Published: 2007
Programming and Customizing PICmicro Microcontrollers Authors: Myke Predko, Michael Predko, Pages: 1190, Published: 2000
Empirical Studies of Programmers: Fifth Workshop : Papers Presented at the Fifth Workshop on Empirical Studies of Programmers, December 3-5, 1993, Palo Alto, CA Authors: Curtis R. Cook, Jean C. Scholtz, James C. Spohrer, Pages: 231, Published: 1993
Visual Basic 2005 For Dummies Authors: Bill Sempf, Pages: 362, Published: 2006
Implicit Parallel Programming in PH Authors: Rishiyur S. Nikhil, Arvind, Pages: 508, Published: 2001

Web:
Debugging Problems How, then, does the user track down the cause of the problem, and fix it? This is the art of debugging. When users post these problems are the mailing lists ...
Windows XP Common Issues > Stop Debug Errors in Internet Explorer ... you can fix the error in the script) the problem to fix is not yours. ... From the menu find 'Disable Script Debugging' and put a check in the box next ...
No debugging problem - Club CDFreaks - Knowledge is Power No debugging problem but what about the memory allocation problem, when copying a full disc, then pops up you need to copy all files from the disc, ...
Debugging problem - C++ Debugging problem - C++ Community and Forum - Our C++ forum is the place for Q&A -style discussions related to this popular language.
Java Tip 56: How to eliminate debugging problems for RMI-based ... Debugging RMI-based programs -- a painful chore -- can be made vastly easier through the use of an in-process server mechanism that allows us to use any JDK ...
developerWorks : Power Architecture : Cell Broadband Engine ... gdb debugging problem Point your RSS reader here for a feed of the latest ... Re : gdb debugging problem. Posted: Jul 08, 2008 11:38:40 AM in ...
VSTA 64bit debugging problem - Summit Software VS2005 installed ), this problem is not occured. but users may not have VS 2005 in their machine. and they wants to debug VSTA. any advice? ...
Debugging - Wikipedia, the free encyclopedia Jan 5, 2009 ... The debugging skill of the programmer is probably the biggest factor in the ability to debug a problem, but the difficulty of software ...
Qt-interest Archive - Debugging problem Subject: Re: Debugging problem; From: Thiago Macieira ; Date: Wed, 26 Sep 2007 09:19:10 +0200 ...
Re: embedded debugging problem: msg#00031 ide.wingide.user Re: embedded debugging pr - Find Help in our ide.wingide.user Forum.

Videos:
bloddshed dev c++ debugging problem had and issue trying to debug a simple program for class (the program works just testing the debugging process).
ekoparty 2007 - VulnDev as Intelligent debugging - Damian Gomez Anyone who has ever developed an exploit will tell you that 90% of their development time was spent inside a debugger. Like with all software ...
The NVIDIA Shader Debugger Modern shaders are growing in complexity, making them harder to understand and debug. To help developers address this problem, NVIDIA offers a ...
Debugging Backwards in Time Google TechTalks January 11, 2006 Bil Lewis Bil Lewis is a computer scientist who has worked on natural language understanding, expert ...
Coconut: COde CONstructing User Tool Google Tech Talks March, 7 2008 ABSTRACT Coconut is a developing system for high-assurance, high-performance software. It was used to ...
025-How to debug Oracle PL/SQL program (Oracle Training) In this hands-on, you debug a procedure that is supposed to calculate the factorial of a number. You should pause and playback the movie as much ...
mbavarian rom debugging video - this is only to show the ... ;_; my tilt!!
Visual Basic 2008 Problem- my remote debug doesnt work Hi youtube! i was hoping somebody could help me solve this debugger problem thing. When ever i create a project and i want to debug it, the ...
Igor Roman - Logging For Fun And Proffit Perl Programming Talks at YAPC::Braga When debugging a problem in an application, people generally resort to scattered print's throughout the ...
How to make your byond game to debug mode Debugging will save you alot of work. Debugging can find the source of the problem and sometimes stop the problem from starting.




Search This Site:










where are the visual studio 2005 team additions?

create a new database inside vs 2005

vs 2005 crashes when attempting to open the html designer

visual studio 2005 pops up norton antivirus to scan a gif file

"my" classes in c#?

debugging: possible to see values in viewstate in watch window?

web site administration tool not working on win xp x64

vs.net 2005 and aspnet_client directory

vs2005 built-in web server problem

vs builds, and builds, and builds

vs2005 add-in suggestion

maintaining a single connection to the database. is it necessary?

web.config assemblies changing when deploying in vs2005

not getting items in toolbox

error 403

install new itemtemplates and wizard template to my ide vb2005

suggestion for the listitem collection editor

share resouces across projects

page_init and page_load

unit testing asp.net 2.0 web application

how to get "last position" in vs2005?

can't create mdf db in vs 2005 - i have sql server 2005 dev installed?

servername:port is not a valid virtual path - why not?

can't edit fields in vs from objectdatasource binding

why are the visual studio add-in assemblies being added to my web.config?

dataset-readxml is very slow !!!

how to "build" page only in vs2005?

object test bench unavailable for website projects

not refreshing .js source code

unresponsive during web publishing and other issues!?

  Privacy | Contact Us
All Times Are GMT