Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

eponymous (ISP) (OP)
29 Dec 10 5:38
XP Professional Version 5.1.2600 Service Pack 3 Build 2600

I received the following instruction after an unhandled exception after loading skype mp3 recorder

************** JIT Debugging **************
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 system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

*****************************************

Can you please break the instruction down into a simple step-by-step approach for the absolute newbie which shows precisely which bit of the code is entered at which precise point within machine.config?

a) for instance the <configuration></configuration> tags already exist, so does this mean is is only <system.windows.forms jitDebugging="true" /> that needs to be entered?
b) if so where and how ... for instance system.windows.forms is entered as a "section name" within the <configSections></configSections> tags?
c) this is how system.windows.forms is entered as a section name within the <configSections></configSections> tags:

<section name="system.windows.forms" type="System.Windows.Forms.WindowsFormsSection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

... is this where I enter <system.windows.forms jitDebugging="true" /> and, if so, could you please kindly re-write the system.windows.forms section (above) so I can see exactly how it is done (as I do not know the protocols i.e. whether to divide by commas or not ... or in what sequence to enter the additional code etc etc)?

This should also help a number of other newbies like me who haven't known where to begin in order to enable jit debugging; when the key fundamental steps are assumed known and then missing as a result.  Many thanks.

Seasons Greetings,

Best wishes,
Eponymous
strongm (MIS)
29 Dec 10 6:48
Why would you want to debug an application? That's something for the developers to do, not an end-user.

Perhaps you can explain what you are hoping to achieve.
eponymous (ISP) (OP)
29 Dec 10 7:59
Strongm - thanks!

1) skype mp3 recorder fails to initialise and load.
2) instead their is a Microsoft.Net prompt that highlights the error
3) the prompt has 2 options:

a) details of error + action
b) continue (ignore Microsoft.Net prompt and manually load
skype mp3 recorder

a) Details of error + action

It is on clicking this button that I received the following instruction to enable JIT debugging after an unhandled exception after loading skype mp3 recorder [at the end of the details section].

************** JIT Debugging **************
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 system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

*****************************************


In the light of this can you please confirm the precise protocol for including system.windows.forms jitDebugging="true" / in the section name="system.windows.forms" tab of machine.config?

Many thanks,
Eponymous
 
rclarke250 (TechnicalUser)
29 Dec 10 9:28
  Have you tried updating the .net framework? It looks like the program hasn't been updated since 2009, Does it even work with the new skype version?  Are there any errors in the system logs as to the application crashing, and what may be the cause? Did you make sure skype extras manager installed, it doesn't by default anymore.   
strongm (MIS)
29 Dec 10 10:29
>In the light of this

I'll repeat: as an end-user you are NOT expected to do any debugging. This error message is normally only for use by the developers (who will have a JIT debugger installed as part of Visual Studio, for example) and should not really appear in a released product.


  
linney (TechnicalUser)
29 Dec 10 13:57
See if you can isolate a possible third party program or service as the cause of any error.

310353 - How to Perform a Clean Boot in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;310353&FR=1&amp;PA=1&amp;SD=HSCH

316434 - HOW TO: Perform Advanced Clean-Boot Troubleshooting in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;316434&FR=1&amp;PA=1&amp;SD=HSCH

310560 - How to Troubleshoot By Using the Msconfig Utility in Windows XP
http://support.microsoft.com/kb/310560
strongm (MIS)
29 Dec 10 14:26
The error is in the Skype recorder. Get a later version or contact the author.

I'd anticiapte that in the debug code you are seeing something like the following in the details section:

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {830690FC-BF2F-47A6-AC2D-330BCB402664} failed due to the following error: 80040154.
 
The error is not with .NET, the error is with the Recorder's COM component not installing properly. I seem to recall there was a bugged version 1.8.3 or 1.8.4 that did exactly what you are describing. Later releases fixed it.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close