473,546 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugger hangs and no exception is thrown!!

3 New Member
Hi everybody! My problem is this...

I'm working on a windows application using Visual Basic in VS 2005.
When i start to debug my application the exceptions that are generated are not being thrown, in fact the debugger hangs and i don't have other solution than reboot the machine. The same happends when i use breakpoints or try to throw an exception inside a try- catch sentence. However the exceptions are thrown as it should be when i do the same in the .exe file. I uninstalled VS and reinstalled the framework2.0 but the problem persists. PLEASE help ;,,this is DRIVING ME CRAZY!!
Feb 22 '07 #1
2 1182
AricC
1,892 Recognized Expert Top Contributor
Hi everybody! My problem is this...

I'm working on a windows application using Visual Basic in VS 2005.
When i start to debug my application the exceptions that are generated are not being thrown, in fact the debugger hangs and i don't have other solution than reboot the machine. The same happends when i use breakpoints or try to throw an exception inside a try- catch sentence. However the exceptions are thrown as it should be when i do the same in the .exe file. I uninstalled VS and reinstalled the framework2.0 but the problem persists. PLEASE help ;,,this is DRIVING ME CRAZY!!
Post the code there would have to be something really wrong for something like this to be happening, unless there it's something with the install. Is it sucking up memory while this is happening?
Feb 22 '07 #2
Ferran
3 New Member
Private Sub ActividadesTare asDataGridView_ CellClick(ByVal sender As System.Object, ByVal e As System.Windows. Forms.DataGridV iewCellEventArg s) Handles ActividadesTare asDataGridView. CellClick
If ActividadesTare asDataGridView. CurrentCell.Col umnIndex = 4 Then
Try
MessageBox.Show ("entro al try de cellclick")

ActividadesTare asTableAdapter. FillByIdTareaId Actividad(tabla activtareas, idactividad, ActividadesTare asDataGridView. CurrentRow.Cell s(0).Value)
Dim vardetallestare as As New DetallesTareaFo rm
vardetallestare as.Show()
Catch ex As SqlClient.SqlEx ception
MessageBox.Show ("Load Failed:", "DetallesTa rea-Load-WorkFlow"+ ex.Message)
Catch ex As Exception
MessageBox.Show ("Load Failed:" + ex.Message)
End Try
End If
End Sub

This is the code where one of the problems happens but i don`t think this could be useful 'cause it happens where the debugger has to stop, like in a breakpoint too.
In fact in this case an exception has to be thrown cause the code is inside a try catch.The memory is fine nothing is using resources while i'm debugging

thanks for answer....
Feb 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
4754
by: Fao, Sean | last post by:
I'm reading The C++ Programming Language by Bjarne Stroustrup and I was unclear as to the proper way to catch an exception thrown by the new keyword. I was wondering if someobody here could let me know if I have written the following code correctly. <CODE_SNIP> #include <iostream> #include <new> using std::cerr;
0
1073
by: Nick LP | last post by:
I have .Net 2003 EA. When I create a simple Windows Form, set a breakpoint, and run it by clicking on "Debug/Start", the debugger hangs. I then have to get out of VS 2003 .Net by using the task manager and ending the task. Can anyone help me out... I already stopped the WWW Publishing Service because it was stuck on "Starting". Any other...
1
2853
by: Chris Stiefeling | last post by:
Hi, I am experiencing a strange problem. I am reading and writing xml files via XmlDocument and XmlTextWriter. In the debugger everything works fine but outside the debugger I receive the following error: "The type initializer for "System.Xml.Schema.Validator" threw an exception.". When running from the debugger (debug or release) no...
1
13939
by: R | last post by:
Hi All, I'm using PHP 5, my code fully separates code from content, my code throws exceptions (LIZException) when error occurs. but every time I throw exception I get this fatal error: Fatal error: Exception thrown without a stack frame in Unknown on line 0
1
2796
by: yancheng.cheok | last post by:
Hi all, According to "How can I handle a constructor that fails?" in http://www.parashift.com/c++-faq-lite/exceptions.html#faq-17.2, whenever there is a constructor fail, we will throw exception. However, how can we make the interface easy to use correctly and hard to use incorrectly? Client may forget/ ignore from having a try...catch...
0
1073
by: drop | last post by:
Hi, I have some DropDownLists that are contained in a DetailsView. Here's a sample of my code for the DropDownLists : <InsertItemTemplate> <asp:DropDownList ID="ddl_TourOp" runat="server" DataSourceID="ods_TourOp" DataTextField="Text" DataValueField="Value" SelectedValue='<%# Bind("Provider") %>'></
2
1345
by: Jules Winfield | last post by:
I've been experiencing a problem recently where the debugger hangs for up to ten seconds, even when executing very simple operations (i.e. adding two numbers). During the hang, a little popup appears in the toolbar saying that "Visual Studio is busy waiting for an operation to complete" and the IDE is completely frozen. The hang occurs when...
0
1090
by: sethuraman | last post by:
Hi, I have had a problem before, I am not sure about the exact exception that is thrown.. but I am sure that there is an exception thrown after processing 600 and odd rows in a DB2 JDBC application. OK.. the scenario is.. In a standalone java application i connected to a locally cataloged database using a DB2 driver. I run a query that...
1
2140
by: pasu | last post by:
I'm getting the error Exception thrown and not caught...and showing the line number too.but nothing i've wrote on that line......greatly confusing...kindly help me....
0
7435
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...
0
7698
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. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
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...
0
7794
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...
1
5361
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...
0
3472
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1922
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
1046
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.