Unable to debug indesign cs5 plugin in windows

Hi, again. Originaly posted here: http://forums.adobe.com/thread/766469?tstart=0
We are having some problems with an indesign sc5 plugin, it works perfectly in macosx but in windows it causes indesign to crash. Anyway after some trouble shooting we tried running it in debug indesign. Problem is that the debug version of indesign wont even start, it fezzes in the splash screen on "Registering xxx plug-ins". It hangs before we can write anything in log files and thatching a debugger gives nothing. Closer inspections
revealed that all the indesign treads is in "waiting" state. Waiting for what? Don't know. Killing one of the threads allows indesign to start but it will not have loaded the plugin and we are back on square one unable to debug.
Anyway I installed the osx version of debug indesign and starting it gives an assert like: 
No translation of key 'com.adobe.rc.operationalmessages' to British string. 
BreakStrToDebugger
ASSERT_FUNC
Examining the stack of the indesign main thread in windows gives pretty much the same thing:
0, ntkrnlpa.exe!KiDeliverApc+0xb3
1, ntkrnlpa.exe!ZwYieldExecution+0x19ae
2, ntkrnlpa.exe!NtWaitForSingleObject+0x9a
3, ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
4, ntdll.dll!KiFastSystemCallRet
5, kernel32.dll!WaitForSingleObject+0x12
6, PMRuntime.dll!ClientShowAssert+0x8d
7, PMRuntime.dll!BreakStrToDebugger+0x15
8, PMRuntime.dll!ASSERT_FUNC+0x117
9, NETAPI32.dll+0xbe86972
(as reported by the ProcessHacker process viewer)
So the win version is trying to show an assert window but fails, locking indesign in the splash screen? Stoping indesign before any plugin execution?
As we cant get any debug information out we don really know what the problem is, making it rather hard to debug. We have triple checked the build and linking options. Studied the plugin exports. Inserted an ridiculous amount of trace statements in the code, doesn't work in the debug version but anyway.
Have anyone had a problem like this or know what might cause it?
What happens in the indesign startup process, what does the “Registering plug-ins” actually do? It's not executing any plugin functions and the the initialization of the plugins doesn't happen until later.

You are correct in that none pf the plug-in code is executed during the "Registering ### plug-ins" phase. What is done here is simply loading the plugins by reading from their resource definitions. For example, if you try to load a CS4 plug-in in InDesign CS5 or if you try to load a release plug-in in debug version you will get errors and popups here and your plugin will not load and be available (these are just example errors and may not be relevant to your case). As far as I know InDesign should not crash just because there is a problem with your plugin, but there could be bugs.
I would recommend:
1. Remove your plugins and verify that InDesign debug starts properly without any 3rd party extensions.
2. Compile one of the SDK sample plugins (debug target) and make sure that InDesign still starts properly.
3. Create a new project using DollyXs, compile it and make sure it loads in InDesign.
4. Remove the template files and add your own source files except the basic .fr file and make sure it still loads in InDesign.
5. Keep changing things one at a time in your .fr file and verify it still loads until it looks exactly like your original .fr file.
Good luck.
Note: "No translation of key 'XXX' to British string." errors is in general quite harmless. It's only a problem with the string translation and should only affect string output in menus/dialogs etc. They should of course be fixed, but can generally be ignored for a while unless an infinite ASSERT loop prevents you from debugging.

Similar Messages

  • I have Creative Suite 6 Production Premium and InDesign CS5.5 for Windows, but I need the Mac versions of these. Is it possible to swap or exchange these products?

    Does Adobe allow exchanging my Windows version of CS6 Production Premium and InDesign CS5.5 for the Mac version? (The CS5.5 box is unopened, and the CS6 is in mint condition.)

    You might be able to do something for the CS6 product, but as far as the CS5.5 application goes it will not qualify.  See the following:
    Order product | Platform, language swap

  • Missing Indesign CS5 plugin

    I just experience failure on opeing indd file in indesign 5.5. As I have bought a new mac and restore the Adobe design preiume CS5. But I can't open indesign file even I have update it to the version 5.7. A pop up window said there are missing plugin, sharedcontent.indesignplugin. And few more plugins missing reported afterwards. I have been using koaren version before because I need the Chinese typography grid system. Is it related to the problem recently I have and else where can download the koearn version back. I found that there are poor support from Adobe while people need to restore old product on new imac with no CD rom....

    Download Adobe CS5.5 Trials: Direct Links (no Assistant or Manager) | ProDesignTools
    Follow the directions on the page exactly or it will not work.

  • Debugging Photoshop CS5 plugin

    I have JSX code that is called from a Photoshop plugin panel but I am having trouble debugging it. 
    When I launch the the ExtendScript CS5 toolkit, set breakpoints and run the script,  I get 'Result: undefined" in the JavaScript console window.    I would like to be able to debug the Panel that I wrote and break on javascript code that is executed when a button is pressed on the panel.   What do I need to do to accomplish this?

    Panel debugging is a problem. You have to go old school with alerts and log files. What I do is make sure my JavaScript code is working via a test harness with the ESTK and drag dropping onto Photoshop. Then all I have to verify is the messages I get from the panel are the same as my test harness. The messages go back and forth via XML wrappers so make sure you have no characters that will mess with XML. I have now gone to escape/encode and decode/unescape to get over that on most of my messages.
    You might try posting to the "Scripting" discussion/forum list as this list is more for C/C++ programmers.

  • Any idea why InDesign CS5 doesn't open fully in Windows XP?

    When I try to open an InDesign CS5 file in Windows XP, the application appears in the task bar but does not open in the window. I tried right-clicking the icon in the task bar to "maximize" the window but this has no effect.  This problem seems to happen about 60% of the time, at other times it works normally. Any idea what I should do to resolve this issue? -- Thanks

    I've no idea why it doesn't open, but I can tell you what worked for me. 
    I tried the minimise and then maximise option, ending processes that might be conflicting and so on.  Then in desperation, I changed the screen resolution of my monitor (right click, propoerties, settings, screen resolution).  InDesign appeared and when I changed the resolution back again it was still there. 
    Give it a go.

  • Updating Indesign CS5

    I am trying to update my Indesign CS5 on my windows 8.1 laptop and I keep getting an error message asking for an update for a 64 bit machine.  Any ideas where to find this? Thank you!

    So, what does one do if one has Indesign CS5 and Windows 8.1 - any suggestions?  The plug in that I apparently do not have is sharedcontent.rpln and as a result I am unable to work with a document that I need. 

  • How to reveal XML tags in InDesign CS5.5?

    I'm trying to tag a business catalog for an XML export. I've never done it before - but our sister company has done the same task with a similar catalog. I can view their catalog in InDesign CS5.5 for Windows over a VPN connection in order to see how they tagged their catalog.
    I'm doing this task on a Mac using InDesign CS4. The interfaces are not the same. The biggest problem is the sister company is in Czech and so is InDesign. I need to open the tags pane. On the Mac, its just "Window>>Tags." There is a "Window" (Okna) menu, but I'm not seeing a "Tags" choice. I have the structure open, but I want to see all the little colored tags. How do I reveal these on the Windows CS5.5 version?
    Thanks

    Wouldn't it be View > Structure > ... ?

  • InDesign CS5 not recognizing font style

    I recently installed InDesign CS5 on a Windows 7 machine. One of the fonts I have installed (both in the Windows/fonts folder and the InDesign font folder), Futura Lt Cn Bt, only shows up as an italics style, not a normal style.

    The italics version shows up in ID and is installed in both my main font folder and my ID fonts folder. However, the "regular" or non-italics version, is also installed in my main fonts folder. I seem to have found a solution by finding a free download of this style (i.e. non-italics) of Futura. It created a separate font entry in my ID (rather than just adding a different style to my exisiting Futura Lt Cn Bt listing), but all seems to be working. Thanks for your help!

  • InDesign CS5 APPCRASH - won't launch

    I have InDesign CS5 on a Windows 7 computer.  The program will not launch, it errors out.  The description says APPCRASH error.  I have uninstalled and re-installed InDesign CS5 and yet still get the same result.  I have restarted the computer after the installs, and uninstalls just to be sure.  I have also changed the default printer to no avail. 

    I was able to download the InDesign installer from prodesigntools. But it won't recognize my serial number (which I'm getting from my account on Adobe's site).
    I thought it be because my serial number is for the Design Standard Suite. So I went back to prodesigntools to download that installer, but am now getting "Access denied". I've tried in multiple browsers, cleared my cache and cookies, and in Chrome's incognito mode. I followed the directions explicity again but can't get to the CS5.5 Design Standard installer.
    Any ideas?

  • How to set InDesign CS5 as the default in the system having InDesign CS4 has the default ?

    How to set InDesign CS5 as the default .indd application when you have InDesign CS4 and CS5 installed and InDesign CS4 is the current default (InDesign CS4 was installed after CS5 installation)

    Thanks, but I already tried it at first but it is not the effective method.
    I think its because of the this reason :
    Both - InDesign CS4 and InDesign CS5 have their application/program/exe named as "indesign.exe".
    Installation of either InDesign CS4 or InDesign CS5, sets a Windows default path for the "indesign.exe". In this case, since InDesign CS4 was installed later (after InDesign CS5 was already installed), the "indesign.exe" which was directing InDesign CS5's "indesign.exe" was replaced by InDesign CS4's "indesign.exe".
    But after long google and search through regedit, I've got the solution :
    Locate HKEY_CLASSES_ROOT\InDesign.Document\Shell\Open\Command in regedit
    Change the value of (Default) attribute to "C:\Program Files (x86)\Adobe\Adobe InDesign CS5.5\InDesign.exe" "%1"     // Include the quotes
    Message was edited by: Vidit Kothari

  • No AUTOMATION in InDesign CS5!?

    hi, I'd like to use the data merge tool which has served very well in the past. Now, I can't find the menu window/automation. any idea what's happened?
    InDesign CS5 Design Premium / Windows 7 / 32 bit
    thanks folks...

    man, I must be blind!! Thanks a lot
    I misclicked on the helpful button and now can't correct to correct answer (unexpected error - must be a bad hair day) sorry & thanks again...

  • Indesign CS5 will not load, it crashes

    I am unable to load InDesign CS5 on a new MacBookPro with Yosemite 10.10.1, can this be fixed?

    How did you install it? Migration doesn’t work.
    If that’s what you did, uninstall, run the cleaner tool, and reinstall it correctly.
    And please take note the CS5 is not supported under Yosemite. If it still isn’t working, I’m afraid you’re on your own.

  • Where I can get InDesign CS5 debug application

    Hi All,
    Initially InDesign CS5 debug application was available on prerelease forum, Now they removed it from there.
    Please let me know where I can get the InDesign CS5 debug application
    Regards,
    Alam

    Hi Norio,
    I have downloaded the indesign cs5 debug windows installer from adobe partnerr site, installer build is 355.
    I have sucessfully installed it on my windows machiine.
    On running the application I have got following Aseert message one after another.
    - Cannot load plugin FONT MANAGER.RPLN
    - Cannot load plugin SING.APLN
    - About to use nil interface ptr! Queried IID was FontMgrPrefix + 4 (0x3e04), on Boss kWorkspaceBoss
    Then aftter Indesign application gets crashed.
    Please note that I did not load any third party plugin.
    Regards,
    Alam

  • Unable to Install Photoshop CS5 on Windows 8

    I'm unable to install Photoshop CS5 on Windows 8.  A copy of the installation log is listed below.  The first time I tried installing, I had Norton 360 enabled, right-clicked the DVD-ROM drive and selected to execute the installer.  It failed at about 5%.  Then, I uninstalled Photoshop CS5 and uninstalled Adobe AIR, disabled Norton 360, ran the Creative Suite Cleanup Tool, and then rebooted back into Safe Mode.  This time, I browsed the DVD-ROM drive, right-clicked on the set-up.exe file and selected Run As Administrator.  Same thing as before.  It failed at 5%.  Does anyone have any suggestions?  Thanks.
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 60 error(s), 56 warning(s)
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe CSXS Infrastructure CS5: Install failed
    ERROR:  - Microsoft_VC90_ATL_x86: Install failed
    ERROR:  - Adobe Media Player: Install failed
    ERROR:  - Adobe Linguistics CS5 x64: Install failed
    ERROR:  - Microsoft_VC90_CRT_x86: Install failed
    ERROR:  - Adobe Photoshop CS5 Support: Install failed
    ERROR:  - Adobe Bridge CS5: Install failed
    ERROR:  - Microsoft_VC80_ATL_x86: Install failed
    ERROR:  - Recommended Common Fonts Installation x64: Install failed
    ERROR:  - AdobePDFL x64 CS5: Install failed
    ERROR:  - DeviceCentral_DeviceCentral3LP-en_US: Install failed
    ERROR:  - Microsoft_VC80_MFCLOC_x86_x64: Install failed
    ERROR:  - Adobe XMP Panels CS5: Install failed
    ERROR:  - Photoshop Camera Raw: Install failed
    ERROR:  - AdobeColorCommonSetCMYK: Install failed
    ERROR:  - Adobe Mini Bridge CS5: Install failed
    ERROR:  - Microsoft_VC80_CRT_x86_x64: Install failed
    ERROR:  - Adobe Photoshop CS5 English Language Pack_x64_AdobePhotoshop12-en_US_x64: Install failed
    ERROR:  - AdobeColorJA CS5: Install failed
    ERROR:  - Adobe ReviewPanel CS5: Install failed
    ERROR:  - Photoshop Camera Raw (64 bit): Install failed
    ERROR:  - Microsoft_VC90_MFC_x86: Install failed
    ERROR:  - Adobe Photoshop CS5 Core_x64: Failed due to Language Pack installation failure
    ERROR:  - Adobe Photoshop CS5 English Language Pack_AdobePhotoshop12-en_US: Install failed
    ERROR:  - Suite Shared Configuration CS5: Install failed
    ERROR:  - Adobe Linguistics CS5: Install failed
    ERROR:  - PDF Settings CS5: Install failed
    ERROR:  - DeviceCentral: Failed due to Language Pack installation failure
    ERROR:  - AdobeColorEU CS5: Install failed
    ERROR:  - AdobeTypeSupport CS5: Install failed
    ERROR:  - AdobeColorVideoProfilesCS CS5: Install failed
    ERROR:  - AdobeColorCommonSetRGB: Install failed
    ERROR:  - Adobe Player for Embedding x64: Install failed
    ERROR:  - Adobe Photoshop CS5 Core: Failed due to Language Pack installation failure
    ERROR:  - Required Common Fonts Installation x64: Install failed
    ERROR:  - Microsoft_VC90_ATL_x86_x64: Install failed
    ERROR:  - Adobe CSXS Extensions CS5: Install failed
    ERROR:  - Microsoft_VC80_ATL_x86_x64: Install failed
    ERROR:  - AdobeOutputModule: Install failed
    ERROR:  - Microsoft_VC90_CRT_x86_x64: Install failed
    ERROR:  - Microsoft_VC80_CRT_x86: Install failed
    ERROR:  - AdobeCMaps x64 CS5: Install failed
    ERROR:  - AdobeTypeSupport x64 CS5: Install failed
    ERROR:  - Microsoft_VC90_MFC_x86_x64: Install failed
    ERROR:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR:  - Adobe WinSoft Linguistics Plugin CS5 x64: Install failed
    ERROR:  - AdobePDFL CS5: Install failed
    ERROR:  - AdobeCMaps CS5: Install failed
    ERROR:  - Microsoft_VC80_MFC_x86_x64: Install failed
    ERROR:  - Required Common Fonts Installation: Install failed
    ERROR:  - Adobe SwitchBoard 2.0: Install failed
    ERROR:  - Microsoft_VC80_MFC_x86: Install failed
    ERROR:  - AdobeColorNA CS5: Install failed
    ERROR:  - AdobeColorPhotoshop CS5: Install failed
    ERROR:  - Microsoft_VC80_MFCLOC_x86: Install failed
    ERROR:  - Recommended Common Fonts Installation: Install failed
    ERROR:  - Adobe Extension Manager CS5: Install failed
    ERROR:  - Adobe ExtendScript Toolkit CS5: Install failed
    ERROR:  - Adobe AIR: Install failed

    Try http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

  • Issue in setting bleed to a document as InDesign CS5 Server plugin

    Hello all,
    I am creating a new document in InDesign CS5 Server through C++ Plugin and trying to set bleed to the document. I have used the command to set bleed. But it doesn't seem to apply properly. I check in the debug version also. It show success to the command but when I open the document there is no bleed applied. I am using following command.
    InterfacePtr<ICommand> pageSetupPrefsCmd(CmdUtils::CreateCommand(kSetPageSetupPrefsCmdBoss));
    if(pageSetupPrefsCmd == nil)
    CAlert::ErrorAlert("Error in SetDocumentBleed function, pageSetupPrefsCmd is nil.");
    break;
    InterfacePtr<IDocSetupCmdData> docSetupData(pageSetupPrefsCmd, IID_IDOCSETUPCMDDATA);
    if(docSetupData == nil)
    CAlert::ErrorAlert("Error in SetDocumentBleed function, docSetupData is nil.");
    break;
    pageSetupPrefsCmd->SetItemList(UIDList(m_pDocument));
    docSetupData->SetDocument(::GetUIDRef(m_pDocument));
    docSetupData->SetNPagesPerSpread(1);
    docSetupData->SetPageSize(pagesRectangle);
    docSetupData->SetPageOrientationIsWide(bWide);
    docSetupData->SetUseUniformBleed(kFalse);
    docSetupData->SetBleedBox(bleedRect);
    ErrorCode error = CmdUtils::ProcessCommand(pageSetupPrefsCmd);
    if (error == kFailure)
    CAlert::WarningAlert("Command failed");
    Can some one please help me in letting me know what wrong I am doing in this command? This has become quiet critical for me.
    Thanks all in advance.
    Regards
    Farzana.

    Hello All,
    I was able to resolve this by using IPageSetupPrefs instead of IDocSetupCmdData interface.
    Regards
    Farzana.

Maybe you are looking for

  • IPhoto / Mac OS X conflict (10.7.4)

    I am trying to open iPhoto, however it brings up a message - 'iPhoto cannot be opened because of a problem.  Check with the developer to make sure iPhoto works with this version of Mac OS X.  You may need to reinstall the application.  Be sure to ins

  • N97 unable to make a call from contacts list

    Hey, I was looking for some confirmation from others about this. I tried to make a call this morning by doing exactly what I would do on my E71 or N95 when a contact has multiple numbers: 1) Opened up my contacts. 2) Clicked a contact with multiple n

  • Critical Functionality Apps Removed From the App Store?????

    If it was not for Wifitrak (wifi scanner), which I have been using for over a year and a half, the Ipod Touch would not have become such an invaluable tool. I had almost gave up on using my Ipod Touch daily because the Apple scanner is so poor. It is

  • IPhoto Titles of Events are not readable

    Hi, i´ve an issue with the interaction of background colour and text colour. In the event view background is dark grey and text is black. Therefore you can hardly read the text under events. When i change background colour only in picture view can ch

  • Problem in extracting data from source system

    HI    I am comparing source system and data in bW for a particular datasource.In this process in source system transaction RSA3 when i am trying to extract data its not showing the exact count.I couldnt able to understand the setting options like Dat