473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Debugger hangs and no exception is thrown!!

3
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 1173
AricC
1,892 Expert 1GB
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
Private Sub ActividadesTareasDataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles ActividadesTareasDataGridView.CellClick
If ActividadesTareasDataGridView.CurrentCell.ColumnIn dex = 4 Then
Try
MessageBox.Show("entro al try de cellclick")

ActividadesTareasTableAdapter.FillByIdTareaIdActiv idad(tablaactivtareas, idactividad, ActividadesTareasDataGridView.CurrentRow.Cells(0). Value)
Dim vardetallestareas As New DetallesTareaForm
vardetallestareas.Show()
Catch ex As SqlClient.SqlException
MessageBox.Show("Load Failed:", "DetallesTarea-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
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...
0
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...
1
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...
1
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: ...
1
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...
0
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"...
2
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...
0
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...
1
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.