
cr-documentor - issue #32
unhandled exception (lfc is undefined) occurred in devenv.exe
What steps will reproduce the problem? 1. Installed CodeRush Xpress 10.2.4 2. Installed CR_Documentor 2.6. Using SandCastle style. 3. Started VS2008, loaded a C# project, and clicked on a XML documentation area in the code.
What is the expected output? What do you see instead? Expected the documentation. Got the "Unhandled exception" VS dialog. After clicking "No" several times I would see the rendered documentation in the CR_Documentor window.
What version of the product are you using? On what operating system? Window XP, CodeRush Xpress 10.2.4, CR_Documentor 2.6.
Please provide any additional information below. Clicking "yes" to debug I would get to a script code in //localhost:11235/CR_Documentor/[some uuid]/ showing the exception coming from the "lfc.switchLanguage(..)" line: function setLanguage(value) { var names = value.split(' '); toggleVisibleLanguage(names[1]); lfc.switchLanguage(names[0]); } The script code has a note indicating that it comes from SandCastle. Changing the preview style to NDoc 1.3 fixes the exception problem.
Regards, Patricio.
Comment #1
Posted on Jan 12, 2011 by Helpful WombatThe reason "lfc" is undefined is probably that the HTML for the preview is not completely being generated or the generation is actually finishing too late - after the script has already started executing - due to the unhandled exception dialog issue mentioned.
Similar to issue #33, we are unable to reproduce this issue. Given that you're having problems with the options page AND the plugin proper, yet we can't reproduce any of this in testing, it indicates to me that there is potentially some issue in your machine's configuration. Several suggestions of troubleshooting steps are listed in issue #33; try some of them out.
Unfortunately, as none of the devs on the project can repro the issue even in the same environment, there's probably not anything additional we can do for you. :(
Status: Invalid
Labels:
Type-Defect
Priority-Medium