473,769 Members | 4,591 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging only working half the time

I am using VB.NET and for some reason debugging is not working properly.
Sometimes it will work and then other times it will not work at all. I will
often times have to Start the program using debug mode 5-10 times before my
break point is reached IF it is reached at all. Is there a solution?

Heres some system information
Microsoft Visual Basic .NET 69586-270-0000007-18268
Microsoft Visual C# .NET 69586-270-0000007-18268
Microsoft Visual C++ .NET 69586-270-0000007-18268
Microsoft Visual J# .NET 69586-270-0000007-18268
Crystal Reports for Visual Studio .NET AAP50-GS00000-U7000RN
Microsoft Application Center Test

OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 2 Build 2600
OS Manufacturer Microsoft Corporation
System Name 8189-10411
System Manufacturer IBM
System Model 8189MUA
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2793 Mhz
Processor x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2793 Mhz
BIOS Version/Date IBM 2AKT42AUS, 8/9/2004
SMBIOS Version 2.31
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\syst em32
Boot Device \Device\Harddis kVolume1
Locale United States
Hardware Abstraction Layer Version = "5.1.2600.2 180
(xpsp_sp2_rtm.0 40803-2158)"
User Name 8189-10411\dlepitre
Time Zone Eastern Standard Time
Total Physical Memory 512.00 MB
Available Physical Memory 122.67 MB
Total Virtual Memory 2.00 GB
Available Virtual Memory 1.96 GB
Page File Space 1.20 GB
Page File C:\pagefile.sys
Jul 21 '05 #1
1 1743
Daniel,

By chance are you starting your application by pressing CTRL+F5 (rather than
just pressing F5)? Using CTRL+F5 to start your application will start in
non-debug mode (assuming you're keyboard scheme hasn't been modified).

--- Jeff

"Daniel" <Da****@discuss ions.microsoft. com> wrote in message
news:75******** *************** ***********@mic rosoft.com...
I am using VB.NET and for some reason debugging is not working properly.
Sometimes it will work and then other times it will not work at all. I
will
often times have to Start the program using debug mode 5-10 times before
my
break point is reached IF it is reached at all. Is there a solution?

Jul 21 '05 #2

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

Similar topics

2
1680
by: Ken Stealth | last post by:
I spend more time tweaking this stupid computer than I do programming!!!! Although I love working in .NET when I finally get the chance - I absolutley hate its fragile nature. What a mess.... Anyway, I've googled the crap out of this error message and there are at least a half a dozen non-related solutions. Thanks to Microsoft for only suggesting one and leaving you high and dry! Here's my scenario:
0
3227
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
2
1125
by: James | last post by:
I have tried various solution without any luck I have tried the following suggestions: http://support.microsoft.com/default.aspx?scid=kb;en-us;833977&Product=vsnet http://msdn.microsoft.com/security/productinfo/xpsp2/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2remotedebug.asp I have disabled the ICF but it is still not working... This is error message I am getting: Error while trying to run project: Unable to start debugging on...
1
269
by: Daniel | last post by:
I am using VB.NET and for some reason debugging is not working properly. Sometimes it will work and then other times it will not work at all. I will often times have to Start the program using debug mode 5-10 times before my break point is reached IF it is reached at all. Is there a solution? Heres some system information Microsoft Visual Basic .NET 69586-270-0000007-18268 Microsoft Visual C# .NET 69586-270-0000007-18268 Microsoft...
6
1819
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to debug a web app from within vs.net 2005 locally on windows 2003 server I just cannot get debugging to work anywhere other than localhost I completely uninstalled the ie enhanced security I've been through all of the doc's i can google
23
3206
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch the debugger from VS, I am told it can't because the project is of output type class library. The error indicates I should set the start action to start external program or start URL. I tried both of these and cannot seem to get the debugger to...
83
3990
by: achintmehta | last post by:
I am working on MontaVista Linux on a PPC board. The compiler I am using is a gnu cross compiler cross compiler (ppc-82xx-gcc) The application/software that is being run, is messing up the memory due to which a subsequent malloc fails. When the application core is dumped I do not get any backtrace in the code (although the application is compiled with debug symbols, with -g option). The only thing I get is the address of the function...
0
7335
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
2
20850
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use some of the tools provided on the command-line. If you hate the command line tools, get over it since you’re bound to be using them at some point in your career. All commands in Linux ARE case sensitive so capital letters are different from lowercase...
0
9590
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...
1
10000
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
9866
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
8879
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...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5310
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.