473,322 Members | 1,409 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,322 software developers and data experts.

Debugger disappears

48
Hi all,

I'm working on a C#.NET windows application which comprises of 80 projects under a single solution & the application is based on CAB (Composite Application Blocks). The problem I face is that the debugger disappears most of the times during debugging. I'm running out of my patience because of this problem. By the way, I'm using Visual Studio 2008 IDE.

I've got to admit that it is a multithreaded application.

Any help is greatly appreciated.

Regards,
Aads
Jun 22 '10 #1
3 1156
Plater
7,872 Expert 4TB
What do you mean the debugger dissapears?
The IDE closes?
Jun 22 '10 #2
Aads
48
Hi Plater,

Thanks for your quick reply.

When I debug the application the control advances to the next statement as it should, but after a gap of some time, say for example 40 seconds, the application pauses for 5 seconds & then both the debugger & the application disappears.

When I say debugger I mean the yellow highlighted line that moves when I press F10/F11 & when I say application it means the exe that is opened as a result of executing the code (i.e. the exe that opens when you press F5).

In my case, both of them gets disappeared & I can only see the source code (IDE) remaining "alive"! However, the debug toolbar button (corresponding to the F5 action) is disabled (greyed out) which means the code is still running but the application is not!

Please let me know in case it is not clear to you.

Thank you.

Regards,
Aads
Jun 22 '10 #3
Plater
7,872 Expert 4TB
This happens when the application gets stuck processing events or doing low level I/O or a COM object is taking up the time or otherwise in an infinite loop.
If you go to debug->break, you will see the line it got stuck on, probably the last line you saw in yellow.

When this sort of things happens, it generally means you have a bug in your code.
Jun 23 '10 #4

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

Similar topics

1
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of...
4
by: Dave bailey | last post by:
When I execute the following code when using a dynamicall created LinkButton in a dynamically created dataGrid, the DataGrid disappears and the page I am trying to get to does not load. Can...
1
by: Joel | last post by:
I am having a weird problem with a hidden asp:button when it reaches its event handler. Upon clicking the button programmatically in javascript, when I look at the any objects inside "Page_Load"...
5
by: CJ Taylor | last post by:
Hey anyone else had the problem of when using a watch window with the little +- charactesr that all of a sudden, they can't see all the properties in the watch.. like you press the +- thing and it...
1
by: Troy | last post by:
I'm sure i've clobbered something, even though I have recreated the control from scratch I add a UserControl to a for Test the form, it works fin stop the debugger open the form designer the...
10
by: Suzi | last post by:
I am creating a windows app and I use the data adapter wizard to generate a SQL query. Once the data adapter is created, I generate a dataset from it and my dataset appears in the designer. Then I...
39
by: jcrouse | last post by:
I am using the following code to get a background image for my form Private Sub mnuBgroundImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuBgroundImage.Clic If...
2
by: 2D Rick | last post by:
Using Access2003 and XP: In a continuous form using only a Form Header and Detail section, the following occurs: Three of the many textboxes in the Form Header lose visibility of their data when...
1
by: BLUE | last post by:
In a property i do this: .... catch(XmlException e) { throw new XmlException("Error processing configuration file!",e); } Then I catch it in another class: catch(XmlException e) {
1
by: hermbagger | last post by:
I wrote a windows application in C# (using visual studio 2003) which I am running as an executable on a Windows Server 2003 machine. The application runs smoothly for days. Then out of nowhere,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.