Windows Develop Bookmark and Share   
 index > Windows Forms General > Application triggered at breakpoint.
 

Application triggered at breakpoint.

Released application crasches with error: "Application.exe triggered at breakpoint.". There is no active breakpoints in my code. What's wrong?
private sealed class Me {get; set; }
comphead  Tuesday, September 08, 2009 5:55 AM
What happens when you select break?
This problem mainly occurs because of heap coruuption.

Check this out:
http://www.allegro.cc/forums/thread/598880

-Paras
paras kumar  Tuesday, September 08, 2009 6:51 AM
Nothing happens.
What is the reason of heap corruption?
Application with timer(period = 5 min). And sometimes 1 per day or per week, it crashes.
private sealed class Me {get; set; }
comphead  Wednesday, September 09, 2009 12:30 PM
Hi comphead,

According to that error message. There is break points in your code. Could you please look into the code and find whether "System.Diagnostics.Debugger.Break()" is in your code. That code will cause the break in run time.

Please inform me the result.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, September 10, 2009 2:38 AM
In my code there is no entries.

But my application uses .net references, possibly System.Diagnostics.Debugger.Break() occures in them?

private sealed class Me {get; set; }
comphead  Thursday, September 10, 2009 11:44 AM
Hi comphead,

>But my application uses .net references

Do you mean the application is not a .NET based application?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, September 11, 2009 2:06 AM
My application is .NET based.
References are also .NET based. Possibly System.Diagnostics.Debugger.Break() occures in references.

private sealed class Me {get; set; }
comphead  Friday, September 11, 2009 5:33 AM
Hi comphead,

When you press F5 to run the app in Visual Studio, do you see any break point?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, September 11, 2009 5:47 AM
Pressed F5. Application launched, "Breakpoints" tab in VS is empty.

private sealed class Me {get; set; }
comphead  Friday, September 11, 2009 5:53 AM
Hi,

Does the application works on other computer? It seems not the break point issue.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, September 11, 2009 6:08 AM
No. It works on developer's computer as released application(launch not from VS).

private sealed class Me {get; set; }
comphead  Friday, September 11, 2009 6:27 AM
Hi,
Can u share the code sampleover here??

- paras
paras kumar  Friday, September 11, 2009 7:14 PM
A lot of code.
private sealed class Me {get; set; }
comphead  Monday, September 14, 2009 5:42 AM

You can use google to search for other answers

Custom Search

More Threads

• ContextMenu events
• How can I delete corrupted options in dialog window when insert CD
• Powered-up PropertyGrid
• Adding "macros" to an application that does not have that feature
• #include <windows.h> hides some .NET functions
• Wiring Events manually in Interop
• BitBlt in Visual Basic 2005
• bypass mouse scroll
• DateTimePicker Control value not changing
• Visual Basic .NET 2003 Drawing Applications