By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,665 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,665 IT Pros & Developers. It's quick & easy.

what might cause: "Thread was being aborted" exception

P: n/a
When I run an app outside of the IDE I get the exception

Thread was being aborted

Does that error mean something to you?
Any idea what might be causing it?

The messagebox contained:

To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the section.
The application must also be compiled with debugging

For example:

< jitDebugging="true" />
I found the machine file and the section but don't know
how to set the bit
<section name=""
type="System.Windows.Forms.WindowsFormsSection, System.Windows.Forms,
Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

I'd rather to generate a .config file for this app but have no idea how to.
I generated one with the name <my app>.config and inserted
< jitDebugging="true" />

but it seemed to have no effect

Any help would be appreciated

Feb 21 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I found a site that said: Terminating a thread by calling Abort() is not
So I gave the class a method that tells it to abort itself
That seems to have fixed the problem.

I'd still appreciate knowing how to make a config file
The doc said to name it <name of app>.config
But as I checked my disk I found many App.config files
Feb 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.