Debugging a plugin

I am having trouble with a plugin.
When I access it from the menu I get the message box "Could not complete the Export command because there is not enough memory (RAM)". The message box appears before my PluginMain is called.
It seems to be related to the linking somehow; when I do not link against a specific library my plugin works. Weirdly, it also works when I am linking against the library and not referencing any stl containers. The dll is loaded (DllMain() is called) but PluginMain() is never called.
dumpbin /exports gives me this output:
Section contains the following exports for photoshopexporter.8be
00000000 characteristics
463B2018 time date stamp Fri May 04 13:59:20 2007
0.00 version
1 ordinal base
1 number of functions
1 number of names
ordinal hint RVA name
1 0 00001163 PluginMain
Summary
52000 .data
2000 .idata
F7000 .rdata
2B000 .reloc
2000 .rsrc
449000 .text
When looking at the dumpbin output of the "Outbound" sample I notice that the PluginMain() has an RVA of 1000. There is also a comment in the "Outbound" source saying "...most development systems require [PluginMain] be the first routine in the source." Is there a way to control the RVA of an exported function, and does it matter to Photoshop?
I have checked the DLL with depends.exe without finding any unresolved dependencies.
Is there a way to get more information from Photoshop as to why the plugin fails? Like a "Photoshop Console" or similar?

Yes, at least I think it is correct. I compile it with the same commandline as is used in the "Outbound" example:
#define plugInName "My Test Exporter"
#define plugInCopyrightYear "2007"
#define plugInDescription \
"Test export plug-in module for Adobe Photoshop¨."
#define ResourceID 16000
#include "PIGeneral.h"
// PiPL resource
resource 'PiPL' (ResourceID, plugInName " PiPL", purgeable)
Kind { Export },
Name { plugInName "..." },
Version { (latestExportVersion << 16) | latestExportSubVersion },
CodeWin32X86 { "PluginMain" },
SupportedModes
noBitmap, doesSupportGrayScale,
doesSupportIndexedColor, doesSupportRGBColor,
doesSupportCMYKColor, doesSupportHSLColor,
doesSupportHSBColor, doesSupportMultichannel,
doesSupportDuotone, doesSupportLABColor
EnableInfo
"in (PSHOP_ImageMode, GrayScaleMode,"
"IndexedColorMode, RGBMode,"
"CMYKMode, HSLMode,"
"HSBMode, MultichannelMode,"
"DuotoneMode, LabMode)"

Similar Messages

  • How to debug the plugin?

        now i can debug the plugin throught avalertnote message box or outputdebugstring ? but can not debug into the adobe ?

    Hi,
    If you have the plug-in open in your IDE (Visual Studio or Xcode ), and you have the target set correctly in the project settings. then if you set a break point in the code, and select debug from the build menu, then assuming your code is run your break point should be hit and execution should stop at that point.
    If you want to provide more information about what OS and IDE you are using then we may be able to provide more assistance on your problem?
    Malcolm

  • Mac PPC/CS2: Problems debugging a plugin

    Hi
    I try to debug a plugin, but it doesn't work.
    - I have installed the debug version of Indesign CS2
    - I have build the debug version of a SDK sample (Basic dialog)
    - I have opened the SYM file in CW9 Symbolics Window
    - I have opened the AdobeIndesign.app from the package Adobe Indesign in CW9 Symbolics Window
    - I start Adobe Indesign in the Symbolics Window
    - I set a breakpoint in SDKPluginEntryPoint (GetPlugin)
    Indesign starts and after a while, it breaks. But I don't see the source code, I see only an assembler code.
    - What could be wrong?
    - Have I anything forgotten?
    Thanks for every help.
    Kind regards
    Hans

    You are not doing much wrong here - the problem is CodeWarrior: it's source debugger doesn't work correctly with this SDK.
    Debugging mac plugins is about using the TRACEFLOW macro to output to the DebugWindow - an SDK tool that displays the TRACEFLOW output to a floating window.
    Be aware that the TRACEFLOW macro is only sending output from the Debug build - so you don't have to take care for the Release build.
    Alternatively you could also use a log file - there is a sample of this in the SnippetRunner project - if I recall it correctly . . .
    I do understand your frustration about CW source debugger: I had the same a few years ago. Since then I do not use source debuggers in my programming anymore: it was like stopping tabacco or turning OFF the TV set definitively - the end of an addiction . . .
    HTH
    Best regards
    Patrick Perroud

  • Debugging a plugin on a WIN PC

    hello,
    i am trying to debug my plugin. when i start the debugger i get many assert dialogs. i have to push the skip button many times till indesign is started.
    how can i say indesign not to show this assert dialog and instead print the messages to a log?
    thanks,
    juergen

    I agree with Patrick. If you run into asserts, it means you are doing something that InDesign does not like and you need to fix the underlying problem.
    One of the most numerous asserts I received when I first started debugging had to do with PMStrings in dialogs. ID wants you to either use strings stated in your .FR file or use strings that are set to kNoTranslate. I developed this macro:
    PMSTRING(X) PMstring(X, -1, PMString::kNoTranslate)
    Using it to declare PMStrings removed all asserts that were caused by creating PMString dialog labels on the fly.
    BTW, I also solved the problem by adding strings to the string table in the .FR file. Its a bit more time consuming, but the purists might say that doing it that way is the more correct way, and they are probably right.
    If you are getting specific asserts that you do not know how to track down, please tell us what they are. We can then address your problem in particular.
    R,
    John

  • Getting incorrect values for linkQueryResult (ILinkManager) while debugging our plugin in Adobe InDesign CC debug

    Hi,
    We have added some functionalities in PanelTreeView sample source. In that, we are getting incorrect values for linkQueryResult (ILinkManager) while using InDesign CC debug. But in release version we are getting the correct values for linkQueryResult (ILinkManager). So when debugging our plugin InDesign CC debugger has stopped working. Please find the below source,
    IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
      if(document == nil)
      //CAlert::InformationAlert("Doc Interface Not Created");
      break;
      IDataBase *db = ::GetDataBase(document);
      InterfacePtr<ILinkManager> linkmanager(document, UseDefaultIID());
      if(linkmanager == nil)
      //CAlert::InformationAlert("linkmanager Interface Not Created");
      break;
      LinkQuery Query;
      ILinkManager::QueryResult linkQueryResult;
      linkmanager -> QueryLinks(Query, linkQueryResult);
      for (ILinkManager::QueryResult::const_iterator iter(linkQueryResult.begin()), end(linkQueryResult.end()); iter != end; ++iter)
      InterfacePtr<ILink> iLink(db, *iter, UseDefaultIID());
      if ( iLink )
      InterfacePtr<ILinkResource> resource(linkmanager->QueryResourceByUID(iLink -> GetResource()));
      ILinkResource::ResourceState rs = resource->GetState();
      PMString fileName = resource -> GetLongName(kTrue); //gets full path
      CharCounter lc=fileName.LastIndexOfCharacter('.');
      PMString *exten = fileName.Substring(lc+1,3);
      if((*exten).Compare(kFalse,"xml")==0)
      xmlDataLinkName = fileName;
    Kindly help us if anyone has idea regarding this issue.
    Thanks,
    VIMALA L

    Hi Vimala L,
    try to replace
    ILinkManager::QueryResult linkQueryResult;
    by
    UIDList linkQueryResult(db);
    Markus

  • Cw 9.5 for creating plugins for adobe indesign cs2 in mac 10.4.8

    i am new to plugin creations.please anyone give me an basic idea of creating plugins for adobe indesign cs2.
    and how to debug the plugin, how to create it using code warrior 9.5, if any one know the site reference please inform me.
    thanks in advance
    subha

    i am new to plugin creations.please anyone give me an basic idea of creating plugins for adobe indesign cs2.
    and how to debug the plugin, how to create it using code warrior 9.5, if any one know the site reference please inform me.
    thanks in advance
    subha

  • How to set the PSSigGetSigValueParams.sigMode and subfilter for a PubSec plugin

    Hi,
    My PubSec plugin, based on DocSign sample, has its  PSSigGetSigValueParams.sigMode value to kPSSigMethodPKCS1 by default. I am creating PKCS7 signatures, but due to this default value i cannot.
    My questions:
    1 - My understanding is that to create PKCS7 signatures my subfilter should be adbe.PKCS7.detached or sha1. And i assume that PSSigGetSigValueParams.sigMode value in sigGetSigValue() is also related, but its constant and cannot be set. how can i set the subfilter and sigMode values so that my plugin starts creating pkcs7 signatures?
    2 - I cannot find a documentation which would describe the detailed process of creating and validating signatures using PubSec, in the same way it is described for DigSig. Can you point out such a document so i dont have to ask these basic questions?
    3 - Is there any sample available which creates PKCS7 signatures?
    thanks in advance.

    OK... i am answering myself again.
    1 - Ans: How can i set the subfilter value for a PKCS7 signature in my plugin
    2 - Ans: I still cannot find any detailed documentation. I just debugged the plugin and found out answers for myself.
    3 - Ans: And i still dont know if there is any PKCS7 signature creating sample. but if u use the DocSign sample and follow the steps described in 1-Ans above, then you can easily create PKCS7 signatures.
    So, i am considering my question answered. hope it helps others aswell.

  • Difficulty Loading External Plugins

    Is there other issues that might keep an external plugin from loading besides the SWF not being at the http location and the isFrameworkVersionSupported() not returning true? I've got a couple of tracking plugins that I'm having difficulty loading. One is the GTrackerPlugin the other is a third-party tracking plugin. I've overwritten the GTrackerPlugin's isFrameworkVersionSupported() function to always return true and ensured the swf is on the server I'm trying to load it from. The trace statement in the GTrackerPlugin's constructor isn't getting called from the plugin when it's loaded, although I'm not sure it should being that it's loaded externally. It's difficult to debug external plugin hang-ups with only an error event "pluginLoadError". Any guidance is much appreciated.

    If it helps, here are my source files for the test project and the GTrackerPlugin with the following minor override in the GTrackerPluginInfo class:
              override public function isFrameworkVersionSupported(version:String):Boolean
                   // Force this plugin to load regardless
                   // of what version of OSMF we're running
                   trace("GTracker version:"+version);
                   return true;
    GTrackPlugin Project
    http://dev.ionflow.net/osmf/GTrackPlugin.zip
    GTrackPluginTest Project
    http://dev.ionflow.net/osmf/GTrackPluginTest.zip

  • Photoshop/Mac -- update window bug after plugin completion?

    After some of my plugins, photoshop/photoshop elements don't redraw image window (only on Mac!).
    Some correlation exists between image scale and this problem -- "Actual pixels" scale repainted (always?) correctly, and any other scale SOMETIMES don't updated.
    If user change window size, image redrawed with plugin results.
    Work-around found -- send Update event to foreground window during filterSelectorFinish processing.
    But where is root of problem?

    OK, then HOW is your plugin preventing Photoshop from receiving an update/paint event?
    You really need to spend some time debugging your plugin.

  • Debug Configuration Problem

    Hi All,
    I want to debug a webdynpro application. I followed the instructions provided in debugging <a href="http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm">tutorials</a>.
    In the list of possible configurations, I chose <i>WebDynpro Application</i> and then <i>New</i>. I have an error message that says:
    "No tab group defined for launch configuration type com.sap.ide.webdynpro.projectbrowser.launch.configtype.debug". Am I missing something?
    Any help will be appreciated
    Thanks,
    Vamsee

    Finally i got the answer. try updating your plugin.xml file under the path "<your file path>\SAP\JDT\eclipse\plugins\com.sap.ide.webdynpro.projectbrowser" with the following code and then close and open the NWDS IDE. if it works please close this thread as answered.
    <?xml version="1.0" encoding="UTF-8"?>
    <plugin
       id="com.sap.ide.webdynpro.projectbrowser"
       name="%plugin.name"
       version="2.0.0"
       provider-name="SAP AG"
       class="com.sap.ide.webdynpro.projectbrowser.ProjectBrowserPlugin">
       <runtime>
          <library name="SapIdeWebdynproProjectbrowser.jar">
             <export name="*"/>
          </library>
       </runtime>
       <requires>
                  <import plugin="com.sap.tc.build"/>
          <import plugin="com.sap.ide.metamodel.core"/>
          <import plugin="com.sap.ide.metamodel.common.libs"/>
          <import plugin="com.sap.ide.metamodel.webdynpro.libs"/>
          <import plugin="com.sap.ide.metamodel.webdynpro"/>
          <import plugin="com.sap.ide.metamodel.dictionary"/>
          <import plugin="org.eclipse.core.resources"/>
          <import plugin="org.eclipse.ui"/>
          <import plugin="com.tssap.selena.model"/>
          <import plugin="com.tssap.util"/>
          <import plugin="com.tssap.selena.model.extension"/>
          <import plugin="org.eclipse.core.runtime"/>
          <import plugin="org.eclipse.core.boot"/>
          <import plugin="com.sap.ide.webdynpro.service.core"/>
          <import plugin="com.sap.ide.webdynpro.tsmodel.application"/>
          <import plugin="com.sap.dictionary.tools.tsmodel.dictionary"/>
          <import plugin="com.tssap.selena.model.ui"/>
          <import plugin="com.tssap.selena.gde"/>
          <import plugin="com.sap.ide.webdynpro.ui"/>
          <import plugin="com.sap.dictionary.projectbrowser"/>
          <import plugin="com.sap.dictionary.tools.ui"/>
          <import plugin="com.sap.ide.metamodel.core"/>
          <import plugin="com.sap.tc.complib"/>
          <import plugin="com.tssap.dii"/>
          <import plugin="com.sap.ide.webdynpro.archivebuilder"/>
          <import plugin="org.eclipse.jdt.core"/>
          <import plugin="com.sap.ide.webdynpro.service.controllereditor"/>
          <import plugin="com.sap.ide.webdynpro.service.viewdesigner"/>
          <import plugin="org.eclipse.jdt.ui"/>
          <import plugin="org.eclipse.jdt"/>
          <import plugin="org.eclipse.jdt.doc.isv"/>
          <import plugin="org.eclipse.jdt.launching"/>
          <import plugin="org.eclipse.jdt.debug"/>
          <import plugin="org.eclipse.jdt.debug.ui"/>
          <import plugin="org.eclipse.debug.ui"/>
          <import plugin="org.eclipse.debug.core"/>
          <import plugin="com.sap.ide.webdynpro.checklayer"/>
          <import plugin="com.sap.ide.webdynpro.service.modeleditor"/>
          <import plugin="com.sap.ide.webdynpro.service.applicationmodeler"/>
          <import plugin="com.sap.ide.eclipse.component.provider"/>
          <import plugin="com.sap.ide.webdynpro.ecatt"/>
          <import plugin="com.sap.ide.tools.core.template"/>
          <import plugin="com.sap.ide.eclipse.j2ee.model.ui"/>
          <import plugin="com.tssap.j2ee.ui"/>
          <import plugin="com.tssap.j2ee.model.ext"/>
          <import plugin="com.sap.ide.webdynpro.controllereditor"/>
          <import plugin="com.sap.ide.eclipse.j2ee.engine"/>
          <import plugin="com.sap.bc.proj.jstartup"/>
          <import plugin="com.tssap.j2ee.core.providers.ws"/>
          <import plugin="com.sap.ide.ws"/>
       </requires>
       <extension
             point="org.eclipse.ui.views">
          <category
                name="Web Dynpro"
                id="com.sap.ide.webdynpro.projectbrowser">
          </category>
          <view
                name="Web Dynpro Explorer"
                icon="resources/icons/pbWebDynpro.gif"
                category="com.sap.ide.webdynpro.projectbrowser"
                class="com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView"
                id="com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView">
          </view>
       </extension>
    <!-- Context menu actions -->
       <extension
             point="com.tssap.selena.model.provider">
          <provider
                class="com.sap.ide.webdynpro.projectbrowser.provider.ActionProviderMetamodel">
             <meta
                   domain="WebDynpro"
                   class="ObjectPropertyProvider"
                   subdomain="WebDynpro,Models,Model,ModelClass,ModelClasses,Applications,Application,Components,Component,ComponentInterface,InterfaceViews,InterfaceView,Windows,Window,Viewset,ViewArea,ViewUsage,ViewContainerAssignment,Views,View,OutboundPlugUsage,InboundPlugUsage,NavigationLink,CustomControllers,CustomController,TargetRole,ComponentInterfaceDefinitions,ComponentInterfaceDefinition,InterfaceViewDefinitions,InterfaceViewDefinition,ComponentUsages,ComponentUsage,ModelUsages,ModelUsage,ModelModelUsages,ModelModelUsage,ComponentController,MessagePool,ImplementedInterfaces,ImplementedInterface,InterfaceController,ConfigurationController,ComponentUsageInterfaceController,ComponentUsageConfigurationController,CIDModelUsages,CIDModelUsage,CIDInterfaceController,CIDConfigurationController,DataLink,LogConfiguration">
             </meta>
             <nature
                   id="com.sap.ide.webdynpro.archivebuilder.WebDynproNature">
             </nature>
          </provider>
          <provider
                class="com.sap.ide.webdynpro.projectbrowser.provider.ActionProviderGeneral">
             <meta
                   class="ObjectPropertyProvider">
             </meta>
             <nature
                   id="com.sap.ide.webdynpro.archivebuilder.WebDynproNature">
             </nature>
          </provider>
          <provider
                class="com.sap.ide.webdynpro.projectbrowser.provider.ActionProviderProject">
             <meta
                   domain="model"
                   class="ObjectPropertyProvider"
                   subdomain="project">
             </meta>
             <nature
                   id="com.sap.ide.webdynpro.archivebuilder.WebDynproNature">
             </nature>
          </provider>
       </extension>
    <!-- System menu entries for and run action -->
    <!Run action>
       <extension
             point="org.eclipse.ui.actionSets">
          <actionSet
                label="Web Dynpro"
                visible="false"
                id="com.sap.ide.webdynpro.projectbrowser.runActionSet">
             <menu
                   label="Run"
                   path="additions"
                   id="org.eclipse.ui.run">
                <separator
                      name="webdynproGroup">
                </separator>
             </menu>
             <action
                   label="Run Web Dynpro Application@CtrlShiftR"
                   icon="resources/icons/pbRun.gif"
                   class="com.sap.ide.webdynpro.projectbrowser.actions.systemmenu.PBRunActionSystem"
                   menubarPath="org.eclipse.ui.run/webdynproGroup"
                   id="com.sap.ide.webdynpro.projectbrowser.actions.systemmenu.PBRunActionSystem">
             </action>
          </actionSet>
       </extension>
    <!perspective>
       <extension
             point="org.eclipse.ui.perspectiveExtensions">
          <perspectiveExtension
                targetID="com.sap.ide.webdynproperspective">
             <actionSet
                   id="com.sap.ide.webdynpro.projectbrowser.runActionSet">
             </actionSet>
          </perspectiveExtension>
       </extension>
    <!-- Launch -->
       <extension
             point="org.eclipse.debug.core.launchConfigurationTypes">
          <launchConfigurationType
                name="Web Dynpro Application"
                delegate="com.sap.ide.webdynpro.projectbrowser.launch.WDLaunchConfigurationDelegate"
                modes="run"
                id="com.sap.ide.webdynpro.projectbrowser.launch.configtype">
             <fileExtension
                default="false"
                extension="java">
             </fileExtension>
          </launchConfigurationType>
          <launchConfigurationType
                name="Web Dynpro Application"
                delegate="com.sap.ide.webdynpro.projectbrowser.launch.WDDebugLaunchConfigurationDelegate"
                modes="debug"
                id="com.sap.ide.webdynpro.projectbrowser.launch.configtype.debug">
             <fileExtension
                default="false"
                extension="java">
             </fileExtension>
          </launchConfigurationType>
       </extension>
       <extension
             point="org.eclipse.debug.ui.launchConfigurationTabGroups">
          <launchConfigurationTabGroup
                type="com.sap.ide.webdynpro.projectbrowser.launch.configtype"
                class="com.sap.ide.webdynpro.projectbrowser.launch.WDLaunchConfigurationTabGroup"
                id="com.sap.ide.webdynpro.projectbrowser.launch.launchtabgroup">
          </launchConfigurationTabGroup>
          <launchConfigurationTabGroup
                type="com.sap.ide.webdynpro.projectbrowser.launch.configtype.debug"
                class="com.sap.ide.webdynpro.projectbrowser.launch.WDDebugLaunchConfigurationTabGroup"
                id="com.sap.ide.webdynpro.projectbrowser.launch.debugtabgroup">
          </launchConfigurationTabGroup>
       </extension>
       <extension
             point="org.eclipse.debug.ui.launchConfigurationTypeImages">
          <launchConfigurationTypeImage
                icon="resources/icons/pbRun.gif"
                configTypeID="com.sap.ide.webdynpro.projectbrowser.launch.configtype"
                id="com.sap.ide.webdynpro.projectbrowser.launch.launchimage">
          </launchConfigurationTypeImage>
          <launchConfigurationTypeImage
                icon="resources/icons/pbRun.gif"
                configTypeID="com.sap.ide.webdynpro.projectbrowser.launch.configtype.debug"
                id="com.sap.ide.webdynpro.projectbrowser.launch.debugLaunchImage">
          </launchConfigurationTypeImage>
       </extension>
    <!-- Selena Actions -->
       <extension
             point="org.eclipse.ui.popupMenus">
          <objectContribution
                objectClass="com.tssap.selena.model.ui.IElementWrapper"
                id="com.tssap.selena.gde.diagramContributions2">
             <!-- Entities in Data Modeler and Navigation Modeler-->
             <filter
                   name="metaclass"
                   value="WDDataLink,WDComponent,WDComponentUsages,WDComponentUsage,WDComponentUsageInterfaceController,WDViews,WDView,WDCustomControllers,WDCustomController,WDComponentController,WDComponentInterface,WDInterfaceController,WDModelUsages,WDModelUsage,WDViewset,WDViewArea,WDViewUsage,WDViewContainerAssignment,WDOutboundPlugUsage,WDInboundPlugUsage,WDNavigationLink">
                 </filter>
             <action
                   label="Select in Web Dynpro Explorer"
                   class="com.sap.ide.webdynpro.projectbrowser.actions.diagram.SelectInWDExplorerAction"
                   menubarPath="group.new"
                   enablesFor="1"
                   id="com.sap.ttest">
             </action>
          </objectContribution>        
       </extension>  
    <!-- key bindings-->
       <extension
             point="org.eclipse.ui.commands">
          <category
                name="%category.webdynpro.name"
                description="%category.webdynpro.description"
                id="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro">
          </category>
          <command
                name="%command.deploy.name"
                description="%command.deploy.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.deploy">
          </command>
          <keyBinding
                string="CtrlAltY"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.deploy"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
          <command
                name="%command.createarchive.name"
                description="%command.createarchive.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.createarchive">
          </command>
          <keyBinding
                string="CtrlAltA"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.createarchive"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
          <command
                name="%command.reload.name"
                description="%command.reload.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.reload">
          </command>
          <keyBinding
                string="CtrlAltO"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.reload"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
          <command
                name="%command.rawlanguage.name"
                description="%command.rawlanguage.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.rawlanguage">
          </command>
          <keyBinding
                string="CtrlAltR"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.rawlanguage"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
          <command
                name="%command.repairproject.name"
                description="%command.repairproject.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.repairproject">
          </command>
          <keyBinding
                string="CtrlAltP"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.repairproject"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
          <command
                name="%command.orphanedtexts.name"
                description="%command.orphanedtexts.description"
                category="com.sap.ide.webdynpro.projectbrowser.categories.webdynpro"
                id="com.sap.ide.webdynpro.projectbrowser.commands.orphanedtexts">
          </command>
          <keyBinding
                string="CtrlAltT"
                scope="org.eclipse.ui.globalScope"
                command="com.sap.ide.webdynpro.projectbrowser.commands.orphanedtexts"
                configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
          </keyBinding>
       </extension>
    </plugin>

  • Help,My vc2003 can not work with indesign debug version

    Hello everyone, I am a new developer of Indesign plugin, recently I got the problem as follows:
    I use vc2003 to open the SDK provided project, and click F5, then selected the Indesign as the programm to load this plug-in. However Indesign did not load the plugin and further more, non of the break-points I setted in the programm worked. It was very strange!
    Any one can help me? Thank you very much!

    Thank you very much for your reply!
    I had solved the problem.
    If you just put the plugin in the app's plugin folder, the VC2003 would be unable to work with your indesign.
    In order to debug my plugin with VC2003 and indesign, I edit the file in %Documents and Settings%\%user%\Application Data\Adobe\InDesign\Version 4.0 which named PlugInConfig, copy the PlugInConfig.out and renamed it as PlugInConfig.txt and Dlelte the content then add the following lines:
    =Path
    "your custome plugin folder".
    Problem solved!:)

  • Unexpected error when plugin triggered.

    Please can any one help me for this error message
    I have one plugin. its trigger when some field update. and my profiler is activated in plugin I want to get the error msg for debug in plugin when i trigger this plugin "Unexpected error" comes again and again. Erreotext file is:
    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.TypeLoadException: Microsoft Dynamics CRM has experienced
    an error. Reference number for administrators or support: #72D65ECEDetail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>System.TypeLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #72D65ECE</Message>
      <Timestamp>2015-02-24T10:58:49.0184997Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>
    [PluginProfiler.Plugins: PluginProfiler.Plugins.ProfilerPlugin]
    [e9150b0a-14bc-e411-bea7-bc5ff4e0291b: UnSyncNotes.Class1: Update of new_mmm_loginset (Profiler)]
    </TraceText>
    </OrganizationServiceFault>
    Rajnikant

    Hello Faisal sir,
    No, I did not change framework version. I'm using Ver 4.5. and neither upgrade from CRM4.0
    In message their words are: Contact to MS Dynamic crm customer support or MS Dynamic CRM administrator
    Rajnikant

  • Interactive debugger for Lightroom plugins

    The Lua IDE "ZeroBrane" now supports interactive debugging of Lightroom plugins. This means you can set breakpoints, step through your code line by line, examine/watch your variables as you do so etc. It can be quite helpful when debugging a complex situation in a plugin, and I don't think it was previously available.
    For more details see here,
    http://notebook.kulchenko.com/zerobrane/debugging-lightroom-plugins-zerobrane-studio-ide
    See the last screenshot for a view of the interactive debugger.
    (Disclaimer: I am not affiliated with them but have worked a little with their software, and like it. Paul, the developer, is very responsive and helpful, in case you should still encounter the occasional quirk.)

    I just tried it in Lightroom 5.6/Mac, and it worked well. (I don't have the latest version of ZBS installed, however.)
    The only thing I see is that if you import it as local LrMobdebug, it should be "LrMobdebug.start()", not Lrmobdebug.start(), i .e. upper/lower case 'm'. (turns out this is wrong in the article too). However, LR should inform you of this when you start the plugin, with the error message "An internal error has occurred - attempt to index global Lrmobdebug (a nil value). So maybe you have caught this already.
    The only real suggestion I have is to restart Lightroom, as that sometimes helps. Otherwise, I followed the steps in the article, i.e. script opened in ZBS, project directory set etc. I did not set a breakpoint as Lrmobdebug.start() already breaks itself.

  • Safari plugin creation

    I'm debugging a plugin which works fine in Firefox, but crashes safari. I think it's dieing one one of the callbacks as part of initialization. However, I can't seem to find a reference that lists what order the callbacks are called in.
    I know that it does NP_Initialize and then NP_GetEntryPoints. anyone know what comes next? one of the news? It's exiting GetEtryPoints, but not entering any of my other functions, that I can tell...

    Your plugin, being a dynamic library, contains the location of libVENDOR.dylib embedded in it. You can see if by doing an otool -L yourplugin.dylib in a terminal.
    That's where OS X is going to look for the vendor library.
    Now, you can change it after the fact. Google or man installnametool. This will allow you to modify your plugin's idea of where libVendor.dylib is located.
    OR
    Put libVendor.dylib in it's final location (same place it will be on other user's machine) prior to linking your plugin. Then the correct location will be written into the plugin lib. /usr/local/lib is a good place.
    Eric
    Message was edited by: ericmeyers

  • Dylib and Safari plugin on OS X

    Hello,
    I'm building a Cocoa based Safari plugin and need to link against a dylib supplied by a vendor. I am able to successfully link / build the plugin but can not get Safari to find the dylib. I added a copy task to put the dylib into the executable folder but this didn't work.
    Is it possible to use a dylib with a plugin? If so, can someone tell me how? How can I get xcode to know about this dylib too?
    Thanks in advance.

    I solved the problem of debugging the plugin in xcode. The solution was to add DYLDLIBRARYPATH to the executable environment.
    - Select your executable in xcode in the "Executables" folder
    - "get info"
    - Select the "Arguments" tab.
    - Add the environment variable DYLDLIBRARYPATH to the environment section specifying the path to your dylib.
    - Debug away.

Maybe you are looking for

  • How to set-up BO Xcelsius Enterprise in a layered SAP BW landscape

    Dear all, We are implementing BO Xcelsius Enterprise next to an existing SAP Netweaver BW landscape (including SAP BW 7.0). We want to use the direct Xcelsius-SAP BW connection using the BI Consumers Services from EHP 1. Currently we're using a 3 sys

  • What is the complexity of "Elliptic curve Pinstov Vanstone signature" algorithm?

    what is the complexity of "Elliptic curve Pinstov Vanstone signature" algorithm?

  • Lumia Denim/WP 8.1.1 Update

    Three days ago, Microsoft/Nokia began the worldwide rollout of the Denim firmware/Windows Phone 8.1.1 software update. The Microsoft Lumia twitter account gave very little detail other than "It will be available following carrier testing and approval

  • Using wdm driver for 24-bit out

    I'm trying to modify a visual c++ program to play 24-bit wave files using an Audigy LS. (I had been using a 6-bit SB Li've.) I recoded to use DirectSound rather than Playsound. How do I get my program to use the wdm (Directx) driver, which I'm told I

  • Rolling title that fades away

    Hi, Thanx in advance for your help. I am making a kids music DVD.  It has 6 songs with video of kids (5-7 year olds) making the movements that go along with each song.  Rolling up from the bottom are the lyrics of the song.  The lyrics come in hard a