473,651 Members | 3,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb.net crashes under many circumstances in debug.

The latest versoin of Microsoft Visual Studio 2005 (Version 8.0.50727.42
RTM.050727-4200 Microsoft .NET Framework Version 2.0.50727) crashes very
often in debug.
1. If you modify a case statement and you stop the run after the change but
before running, the system crashes.
2. Add a new class and stop the run and the system crashes.

During debug, in the new system, you can add and delete code. You might
expect this to work, I'll add additional areas where the system crashes
during debug.

I am currently doing XML work, but I believe this is not related.
Help!!!
Leon
PS. Is this related to the fact I cannot edit my macros? This is also very
limiting.

Jan 11 '06 #1
1 1583
Welcome to the new improved debugger -- I know it sorta makes you laugh that
5 years ago in VB6 I could do much more with the debugger. As with much
that is Microsoft, it feels good initially, but when you really start
getting serious with it, it turns into a pile of pooh.

But hey, you do have the ability to browse datasets while debugging -- this
is a nice feature, but again a feature that could have been added to VB7
many moons ago.

If this entire fiasco was to solve DLL hell, well it didn't if anyone goes
unmanaged -- which many do because there ain't enough in .NET 2.0 for
serious developers to stay managed. I rarely hit DLL hell when developing
in VB6 -- is was much more of a one off type of event certainly NOT worthy
of dumping a migration path and starting over from scratch.

Again, why could they NOT continue with a normal migration path?

Rob

"rogsonl" <ro*****@discus sions.microsoft .com> wrote in message
news:66******** *************** ***********@mic rosoft.com...
The latest versoin of Microsoft Visual Studio 2005 (Version 8.0.50727.42
RTM.050727-4200 Microsoft .NET Framework Version 2.0.50727) crashes very
often in debug.
1. If you modify a case statement and you stop the run after the change
but
before running, the system crashes.
2. Add a new class and stop the run and the system crashes.

During debug, in the new system, you can add and delete code. You might
expect this to work, I'll add additional areas where the system crashes
during debug.

I am currently doing XML work, but I believe this is not related.
Help!!!
Leon
PS. Is this related to the fact I cannot edit my macros? This is also very
limiting.

Jan 12 '06 #2

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

Similar topics

2
399
by: Song | last post by:
Hi, gurus, I am new with visual studio... I am trying to build a standalone C++ project by MS visual C++, the problem that I have is: if compile it as "Release" version, it crashes by a certain combination of the operations, while if compile it as "debug" version, there is no problem. I also tried to "debug" the release version in the IDE, after seeing warning and choosing "debug anyway", there is no crash...I guess the problem has...
5
2305
by: Rob Ristroph | last post by:
Hi, It's pretty unhelpful to post "I have a huge piece of code that crashes in strange places, what's the problem?" but that's basically my problem and I really am at my wit's end. The piece of code in question always crashes in an STL operation such as a vector.push_back, but the location of the crash changes as I change how various parts are handled in memory, i.e., make some things dynamically allocated instead of new'd. I know...
9
3839
by: greeningster | last post by:
I have written an application in Visual C++ for a customer but it seems to crash randomly. Could anyone give me any help on how I could track this down ? Also, there appears there might be memory leaks too. How can i track these down ?
2
1838
by: Brent | last post by:
I have just installed Office 2003 and Visual Studio Tools for Office 2003, including the Developer Extensions for Access. I kept my Access 2000/MOD installation intact (I hope), installed Access 2003 and upgraded all the other Office apps. I have all updates/service packs installed including Jet SP8. OS is XP Pro. I have a repeatable situation where opening a report with code will cause any mdb to crash every time. The following is one...
3
1459
by: Bonj | last post by:
I noticed the other day when starting a console application in VB.NET that when using System.Diagnostics.Debug.WriteLine(x.ToString()) where x is a function call (that returns a value that can be represented as string) it crashes. It's as if an exception is going to be thrown, but one never is, both VS.NET and the program just hang. If I put as the very first line of the program Debug.WriteLine("yo") then it doesn't do it, everythinig works...
8
6035
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is there a way I can compile the application such that it won't even attempt to launch without correct permissions instead of just crashing? Thanks for any help. -Mike
12
3548
by: Les Caudle | last post by:
I've got a .NET 2.0 app that works quite well on all of my test boxes. However, at the client's site, it crashes with 'has encounted a problem' basic dialog. No useful info. I've yet to see a .NET app crash like this, without the verbose dialog that will tell me the line # of the problem (the app was compiled in debug mode). What steps can I take to track this down?
41
2444
by: z | last post by:
I use Visual C 2005 to develop my programs. One in particular is crashing in very specific and hard to replicate situations, made worse by the fact it only crashes when run -outside- the dev - as an exe, not from the Debug option. If I try to launch the debug on the crashing program, it'll close before the debugger opens. Any suggestions as to how I should proceed? Thanks in advance.
2
6421
by: jaddle | last post by:
I program I'm writing crashes when it exits with a segfault. I'm runnning under linux. Using gdb, i see that the crash happens after the last line of main(), which is just a return(EXIT_SUCCESS); If I put an exit(EXIT_SUCCESS); right before that line, it doesn't crash though! In gdb, when the crash occurs, a backtrace gives the following: #0 0x0804e090 in ?? () #1 0xb7ea2ff4 in ?? () from /usr/lib/debug/libc.so.6 #2 0xb7ea4140 in ?? ()...
0
8361
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
8807
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
8466
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
5615
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
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
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1588
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.