Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Things to try if you can't debug script in IE

1 view
Skip to first unread message

Monica Rosculet [MS]

unread,
Dec 6, 2002, 8:08:57 PM12/6/02
to
Hello everybody,

This is a problem that affects a lot of you and the simptoms are that after
you load a document containing client side script in Internet Explorer, you
don't see "Script" in the Type column in the Debug | Processes dialog for IE
and hence you cannot debug any client side script in IE. This happens most
likely because of some configuration issues in DCOM. Here are some of the
solutions we identified so far:

1. You don't have script debugging enabled on your machine. In Internet
Explorer go to Tools | Internet Options | Advanced and uncheck the Disable
Script debugging box.

2. You have at least one of the following registry keys:
HKLM\Software\Microsoft\Ole\DefaultAccessPermissions
HKLM\Software\Microsoft\Ole\LegacyAuthenticationLevel
HKLM\Software\Microsoft\Ole\LegacyImpersonationLevel

just delete them. They were probably added on your machine by installing an
older software (I'm curious which one) and are not useful.
Then, reset mdm by running the following commands from a cmd prompt:
net stop mdm
net start mdm

And finally, close and re-open IE with your page.

Now, you should be able to see Script in the Processes dialog as the Type
for IE. Just attach to IE in Script mode, open your document from the Debug
| Windows | Running Documents window, set breakpoints and you should be able
to debug.

Please let me know if none of these fix your problem by sending me the
contents of the HKLM\Software\Microsoft\Ole registry key.

You can find more information about script debugging at:

http://www.gotdotnet.com/team/csharp/learn/whitepapers/How%20to%20debug%20sc
ript%20in%20Visual%20Studio%20.Net.doc

Hope this helps,

Monica


Visual C# Team

unread,
Dec 16, 2002, 1:23:58 AM12/16/02
to
hmm... Can you post:

<drive>:\Documents and Settings\All Users\Application Data\Microsoft\Machine
Debug Manager\mdm.ini

Gregg

--
This posting is provided "AS IS" with no warranties, and confers no rights

"Zvi Danovich" <z...@cmt.co.il> wrote in message
news:OFvfQk7oCHA.2564@TK2MSFTNGP10...
> Hello, Monica,
> I saw many messages on this issue, because I have the same problem too. As
> many others, I can successfully debug server scripts, but cannot do it for
> client ones.
> I have performed on my computer all what you recommend in the message that
I
> am replying for now, and in addition I have checked the pdm.dll loading as
> you requested in your letter to <bor...@yahoo.com>.
>
> The results you can see in the Word file attached: pdm.dll is used by the
IE
> process PID 2964 that runs the script, but "Type" is empty (and "Debugger"
> column has "Microsoft Development Environment" !).
>
> How can we continue at this point ?
>
> Thank you for advance,
>
> Zvi
>
> "Monica Rosculet [MS]" <mko...@online.microsoft.com> wrote in message
> news:#s7P70YnCHA.1816@TK2MSFTNGP11...

Zvi Danovich

unread,
Dec 16, 2002, 7:11:26 AM12/16/02
to
Hi, "Visual C# Team",
If you say "hmm", I start afraid ...
Please, see requested mdm.ini.

Hope for your success,

Zvi


"Visual C# Team" <csh...@microsoft.com> wrote in message
news:#I2V0uMpCHA.2384@TK2MSFTNGP09...

mdm.ini

Visual C# Team

unread,
Dec 18, 2002, 5:41:21 PM12/18/02
to
Hi Zvi,
Could you send me the contents of your HKLM\Software\Microsoft\Ole key to
see if there is nothing else weird there? also, did you reboot since
modifying the registry?

Thanks,
Monica Rosculet

--
This posting is provided "AS IS" with no warranties, and confers no rights
"Zvi Danovich" <z...@cmt.co.il> wrote in message

news:uxkSTxPpCHA.2412@TK2MSFTNGP12...

Zvi Danovich

unread,
Dec 19, 2002, 12:49:55 AM12/19/02
to
Hi Monica,

1. See, please, the attached Word file attached to my message to you on Dec
14: it has the requested screen (i.e contents of
'HKLM\Software\Microsoft\Ole' key).
2. It seems to me, that I did reboot. To be on the 'safe side', I'll do it
once more. But, you wrote previously about restart of 'mdm' only ...

Best regards,

"Visual C# Team" <csh...@microsoft.com> wrote in message

news:#4oXRaupCHA.2600@TK2MSFTNGP10...

0 new messages