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

Similar Messages

  • @loader_path problem for photoshop plugin on Mac

    Hi experts,
    One of my photoshop plugin (a file format plugin) depends on Qt, so I add the libQtCore.4.dylib and libQtGui.4.dylib in the same folder of my binary in my bundle ( that is '/Contents/MacOS' ), and reference them as @loader_path in my plugin.
    My plugin is a universal binary. it works all fine with the 64bit photosho , but the problem is in 32bit of photosho, when I click the 'About' to display my about dialog and then click open to open my file, photoshop said 'Out of RAM'. This problem doesn't happen if I click open first and then about.
    I tried to put the Qt libraries in the /usr/local/bin, and referece them in my plugin with full path, (that is /usr/local/bin/libQt**), all things are all right, So I'm wordering if there is some problem with the plugin loading with the '@loader_path‘ reference.
    Any help will appreciate.
    Thanks,
    D.J.

    Here are the links for downloading.
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 , CS4 Web Standard | CS3 | CS2
    See this link if you still have issues: Troubleshoot download problems

  • Leopard and Adobe Photoshop CS2 problems...

    I've been reading the posts about Leopard and CS2 problems and have to say that I'm confused. A great many of you have had issues from the very beginning as soon as you upgraded to Leopard. I did not. I use a VERY basic set-up without third party plugins and suspect that to be why I had no problems. At least until now... I looked back through my documents to be sure, and my Photoshop was working beautifully through the first week of January. Somewhere between then and now there had to be an update from Apple that broke Photoshop. I haven't changed any settings since it last worked, and there certainly haven't been any updates from the greedy buggers over at Adobe because they don't support CS2 anymore apparently. What could Apple have updated that might have accidently corrupted my Photoshop?? I don't really feel it could be anything else, but who knows... Does anyone have any ideas? I would hate to have to downgrade to OS 10.4 just to use my Photoshop and I certainly can't afford to shell out the extra $$ for CS3.
    I appreciate any light you guys can shed on the topic...
    Stan

    Actually the 10.5.2 update does seem to have improved things for me with Photoshop CS1. I can now actually type entries into the little boxes for things like crop and brush sizes. The File Browser is still prone to crashing the application though, and there is still some weirdness with opening files by a drag and drop onto the app icon in the Dock. But nothing got worse, and several annoyances disappeared.
    One thing to try is to create a brand new admin test user, with no additions (that includes not adding fonts), log into the new account and see if Photoshop will work there.
    And speaking of fonts, do you have Linotype's Font Explorer installed? If so, did you get the new updater for it? Some people who use Font Explorer were having a lot of problems after the 10.5.2 update, including Photoshop failure to launch, that were fixed with the Font Explorer update.
    Francine
    Francine
    Schwieder

  • Problems with NIK Plugins

    Hi all,
    a lot was said already about problems with using Nik plugins in PS5 64 bit mode, but I'm not getting closer to a final solution.
    I have installed all latest NIK plugin updates without problems.
    According to their website all of their plugins are running now in a 64 bit mode.
    In CS4 I can open and work with all plugins, BUT ONLY after removing the 'Selective Tool' from the plugin folder.
    When it is not removed, PS4 is crashing all the time immediately after opening.
    In Dfine plugin I noticed that my pointer is always a bit flickering during processing.
    In CS5 it is the same; if the Selective tool is in the Plugin folder, it won't opening.
    After removing it, in 32 bit mode I can open and work with all installed plugins.
    But in 64 bit mode I'm able to work only with Silver Efex and HDR Efex Pro, but as soon I open Dfine, Sharpener, Viveza or Color Efex CS5 is crashing immediately.
    I'm running a Mac pro with plenty power, ram etc, all updated and cleaned up.
    What is other people's latest experience regarding that issue?
    Thanks

    Hi to all,
    here I like to give you an update on my experience with NIK Plugins.
    After beeing unable to solve my NIK problems by myself and in the forum I was contacting NIK, and their respons email told me only the following:
    "In case of experiencing problems with their plugins in 64 bit mode remove all Duplicate Ariel Fonts"
    Since I read about that already earlier, that reason had been ruled out.
    BUT I got the idea simply to remove all my Arial Fonts from my Library (to the Desktop), and surprisingly ALL NIK plugins now were functioning without bringing CS5 to crash at start-up.
    Unfortunately over the last days, especially on working with big file size pictures (around 200 MB) and plenty layers, CS5 crashed again often after initializing of the plugins.
    Than I read today the post from Grey Havens, who suggested to set the percentage of RAM what Photoshop should use to maximal 60%.
    Since I do have 14 GB RAM available, I indeed reduced the settings from 85% to 65%.
    2 of my 3 internal HD's are assigned as scratch disk, as recommended by Adobe.
    Thanks Grey, as you described, all plugins are opening now very fast, and I just tried all applications with big files, many layers and CMYK files,
    without having any crash so far anymore.
    If this continues, than I dont have to use my CS4 or the CS5 in 32 bit mode anymore, which would make all easier for me.
    Than it also doesn't matter that Photoshop has less RAM assigned, because in 64 bit mode the almost 9 GB RAM assigned is for me more than enough.
    So what worked for me, might work also for other people with same problems:
    ---    I had to remove the 'Selective Tool' from all plugins in CS4 and in CS5
    ---    I had to remove all Arial Fonts from my Font Library
    ---    I set in Preferences Performance the 'Let Photoshop Use RAM' to 65% only   
    Regards
    Michael

  • 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

  • When I make my computer to sleep after a few hour it will light up again and say that The mac have a problem need to be shut down

    I don't know why wne I put my mac to sleep it will light up it self after a few hour and say that the mac have a problem needs to be shut down, does anyone know why?

    Sounds like it's experiencing a kernel panic. Post the latest report. See
    About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • There was a RAISE without a handler. - Adobe Reader 9 Mac PPC 10.4.11

    Hi, just recently everyone has been getting this error at my place of work. After searching around this seems to be a pretty rare problem with not many solutions. Everyone is running Adobe Reader 9 and is accessing these files from a share on a server. The odd thing is if I access the server and copy the pdf from the server to a mac it works fine when its on the actual machine, but opening it from the share gives this error "There was a RAISE without a handler. The application will now exit."
    Any suggestions will be greatly appreciated.

    I am not sure, but I got the same error on my macbook pro with Mac OS X 10.5.8 and Acrobat 9.2 (CS4). I never had any problems before until I tried to install the suggested update to version 9.3.0 with Adobe Updater. The Update didnt finish the installation and since then I have this error message.
    I must say that I lately updated/installed the free utility "PDF Browser Plugin v.2.2.3" from Schubert IT which brings full Acrobat functionality to Safari. Acrobat 9.2. and PDF Browser Plugin were running without any problem before I tried to run the update. (I am not sure if the PDF Browser Plugin was running on my MacBook Pro System before - but I didn't experience any problems with the Plugin and Acrobat Pro on several other Macs at work)
    But now I am not sure if the Browser Plugin has brought up the Updater to fail - especially because it is just a Plugin for browsers located /library/Internet Plug-ins)
    I now try to fix this issue and let you know if I was successfull. I was just thinking, if you maybe also have this plugin installed. It runs in the background and is normaly not buggy, and that why most users don't even recognize wheter its installed or not...

  • Building InDesign CS4 plug-ins once for both MAC PPC and MAC Intel

    Hi All,
    I would like to know if there is a possibility to build the indesign plugins once for both PPC and Intel on MAC. Right now I'm forced to build my plugins twice: on the PPC machine and on the Intel Machine.
    I tried to build the SDK example Basic Persist Interface on my MAC Intel machine and then i placed it on my MAC PPC and it failed to load.
    is there any configuration I need to specify so the XCode linker will link for both machines?
    I'm using:
    InDesign CS4
    Leopard 10.5.8
    XCode 3.0
    Architectures: i386
    Valid Architectures: ppc67 ppc7400 ppc 970 i386 x86_64 ppc
    Instruction  Sheduling Power pc G4
    thanks,
    Itamar

    thanks mfreitag
    it did the job.
    Itamar

  • 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

  • No Instant Client 10.2 for Mac PPC?

    I'll skip the rant about there not being an Oracle Instant Client for Intel Mac since that appears to have been covered in a previous thread.
    But where's the 10.2 instant client for PPC Macs? All other platforms (at least the ones I care about) have 10.2 but Mac is stuck at 10.1. When I link against the 10.1 library, I get the following unresolved externals:
    __ZTIN6oracle4occi12SQLExceptionE
    __ZTIN6oracle4occi7PObjectE
    Please tell me there's a 10.2 available for Mac, even if it's only PPC. Maybe somebody just forgot to update the links on the download site?

    hi there. i've got (almost) the same problem on my mac ppc (darwin kernel version 8.10.0) with g++ 4.0.0, but i only have an unresolved __ZTIN6oracle4occi12SQLExceptionE.
    there is a workaround for the SQLException problem. as SQLException extends std::exception you can use
    try {
    catch(std::exception& exception) {
    int oraCode(exception.getErrorCode());
    std::string oraMessage(exception.getMessage());
    // do whatever you like with oraCode and oraMessage
    instead of
    try {
    catch(oracle::occi::SQLException& exception) {
    int oraCode(exception.getErrorCode());
    std::string oraMessage(exception.getMessage());
    // do whatever you like with oraCode and oraMessage
    throughout your code, which will not require
    __ZTIN6oracle4occi12SQLExceptionE to be resolved (or generated).
    as i mentioned before, i haven't come across the PObject problem. what compiler are you using (i suppose g++ 4.0.0)? what are your compiler and linker flags?
    best wishes from hamburg, matt

  • Windows 8.1 Installation On Mac - Got a Problem

    Windows 8.1 Installation On Mac - Got a Problem
    Hi everyone,
    I'v researched a lot about installing Win on Mac but I still got a problem when everything seems to be fine.
    I got a Macbook Pro Retina, Late 2013 with OSX Mavericks and Bootcamp 5 installed on. And for installing windows, I already got an empty 8GB USB Drive formatted as MS-DOS (FAT32). And I've prepared Windows 8.1 ISO in my Downloads folder.
    During my last effort, I opened Bootcamp Assist and then Chose the options: "Create Windows 7 or later version installation disk" and "Download the latest windows support software from Apple". Then I chose my Windows 8.1 ISO location and my destination. When it finished ,I was expecting it to run windows setup. But it closed and nothing happened
    When I opened BootCamp again, only the first two options were available as before and "Install or remove Windows 7 or later" wasn't.
    Now ,what do I have to do exactly? (NOTE: I'm not a professional. So please answer in a simple way. )
    Should I restart the Mac and Hold OPTION while booting to run Windows setup? I was thinking about it but I thought I might screw it up all. So I decided to ask it here to be sure.
    Any help will be appreciated by heart!

    Hi Alcatrax,
    I would recommend following the steps in this link in order to help you complete your installation of Boot Camp:
    Boot Camp Help: Install Windows on your Mac
    https://help.apple.com/bootcamp/mac/5.0/help/#apdecf0e4b6-b472-438d-881e-57c230b 1c250
    Prepare your Mac for Windows
    Boot Camp Assistant helps prepare your Mac for Windows by creating a new partition for Windows and then starting the Windows installer. Optionally, you can install Windows using an external USB drive that contains a Windows ISO image downloaded from Microsoft and Windows support software.
    Important: If you’re using a portable computer, connect the power adapter before continuing.
    Insert an external drive into the USB port on your Mac and keep it inserted while you install Windows and Windows support software.
    Open Boot Camp Assistant, located in the Other folder in Launchpad.
    Select the option to install Windows, select other options you need, then click Continue.
    Here are the other options you can choose:
    If you want to install Windows from an external USB drive and you have a Windows ISO image, select the option to copy the image to an external USB drive. If this option isn’t available, your Mac doesn’t support installing Windows from an external USB drive.
    If you haven’t already downloaded the Windows support software for your Mac, select the option to download it. In a later step, you’ll install the Windows support software on your Windows partition.
    Follow the onscreen instructions for the options you selected.
    When you’re asked to create a Windows partition, specify a partition size. If you have multiple hard drives in your computer, you can select a different hard drive and create a single partition on that drive, so that the drive is solely used for Windows.
    Note: You can’t resize the partition later.
    If you need help determining the best size for your Windows partition, refer to your Windows installer documentation. For Windows 8, create a partition that is at least 30 GB.
    In a later step, you’ll format the Windows partition.
    If you are using an installation disc for the 64-bit version of Windows, insert it into the optical drive in your Mac or the external optical drive. Otherwise, keep the external USB drive with the 64-bit version of Windows inserted.
    Click Install.
    Boot Camp Assistant creates the Windows partition, restarts your Mac, then opens the Windows installer.
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time

    I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time I try install the new player it is place in my Trash Folder and I can not get Player to work.  I did everything I was to install it correctly but it still does not install it correctly.  Can some help me.  Bob

    Some MacBook Pro versions cannot be upgraded past 10.6.8; others are maxed out at 10.7.5. newer models can go all the way to 10.10. So it is important to know exactly what version you have--there may be close to 40 variants produced since the MB made its debut in 2006.
    You can safely give us a snapshot of your model and its current config that will allow us to deternmmine your model and its upgrade potential, plus show it you have any software that may impede any upgrades. Please download and install this free utility:
    http://www.etresoft.com/etrecheck
    It is secure and written by one of our most valued members to allow users to show details of their computer's configuration in Apple Support Communities without revealing any sensitive personal data.
    Run the program and click the "Copy report to clipboard" button when it displays the results. Then return here and paste the report into a response to your initial post. It can often show if any harmful files/programs are dragging down your performance.
    Remember that, on leaving OS10.6.8, you lose the ability to run older softare written for older PowerPC Macs (yours in Intel-based). Programs such as Office 2004 will no longer work (min of Office 2008 needed to work on newer OS versions), and AppleWorks will stop working completely

  • Can I download music from my PC onto my new iPhone and still have my iPhone use iTunes on my Mac without a problem? I have no music on the Mac because it is new. Can I download music onto iPhone on both PC and Mac?

    Can I download music from my PC onto my new iPhone and still have my iPhone sync with my Mac without a problem?
    I've had an iPod over a year and have not done much with it except download music onto it from my PC. Just recently have purchased the iPhone.  When I got my iPod I didn't have a Mac, but now I do.  I am really into my iPhone, so now I want to make sure that I don't do anything wrong. So can I connect my iPhone to both my PC and my Mac without it getting mixed signals and stop working.  I have no music on my Mac but plan to download music into iTunes on it.  So can I download music from both computers without problems onto my iPhone?

    StoneMountainGirl,
    No. You can only music to your iPhone from one computer at a time.  If you try to load music onto it from a 2nd computer, it will erase the current content on the iPhone and replace it with whats in the iTunes library you are connected to,
    B-rock

  • My new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.

    my new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.
    At first my computer had issues. Once it go to sleep it will not back again. I dropped my laptop at apple store to fix it. After 10  days they returned my laptop saying they were no able to fix the problem so they replaced motherboard aiming if that might help. Acttually that didn't help.I had same issue again. I visited apple store again. This time they said they could fix, if I will allow them to format the harddrive. I said ok. They formatted it. It was working fine for few daysAfter few days compter is taking.even more than 15 min to shutdown. Now computer has another problem. It is being hang frequently like every 20'to.30 min.
    I don't know what to do? I still have one month left on first year warranty. I have requested couple times to apple associates either to fix or replace or refund. They are showing me rude behavior. They are not understanding my situation. I am a student. I need to do lot of home work. Since last three month my mac book and apple associates giving me hard time. Any suggestions are welcome.

    Contact Apple Customer Care - not Apple Care - Customer Support. Have your receipts handy and/or case numbers. Be patient, be calm, and tell your story just as you have here. I get the sense you are not in the US and don't have access to an Apple Store but are going to an independent shop. This makes using Customer Support all the more important. If phoning isn't viable, use registered mail.
    Since time is running short, be prepared to purchase AppleCare to exennd your warranty 2 more years. Yes, you shouldn't have to do this, but it gives you added protection and more opportunities over the next 2 years to claim a replacement computer if you don't get one immediately. After dealing with a similar unhappy situation with a Mac in the late 1990s I finally got a replacement computer and reimbursed for the AppleCare policy.

  • I am on a MAC PPC G5 with OSX 10.5.8 and can't get the Leopard disk to stay in the drive, although " Woodstock - The Director's Cut plays fine " HELP !!

    I am on a MAC PPC G5 with OSX 10.5.8 and can't get the Leopard disk to stay in the drive, although " Woodstock - The Director's Cut " plays fine, HELP !!

    Yes it is the right Disc...
    2Z691-6040-A  (OEM) Drop-in DVD...
    System Requirements 
Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor. User must already have 10.4 or above to install this 10.5 upgrade.
    Compatibility 
eMac (2005), iBook G4 (Mid 2005), iMac G5 17-inch (ALS), iMac G5 20-inch (ALS), iMac G5 (17-inch iSight), iMac G5 (20-inch iSight), iMac (Early 2006 17-inch), iMac (Early 2006 20-inch), iMac (Mid 2006 17-inch), iMac (17-inch Late 2006 CD), iMac (17-inch Late 2006), iMac (20-inch Late 2006), iMac (24-inch Late 2006), iMac (20-inch Mid 2007), iMac (24-inch Mid 2007), Mac mini, Mac mini (Late 2005), Mac mini (Early 2006), Mac mini (Late 2006), Mac mini (Mid 2007), Mac Pro, Mac Pro (8-core), MacBook (13-inch), MacBook (13-inch Late 2006), MacBook (13-inch Mid 2007), MacBook (13-inch Late 2007), MacBook (13-inch Early 2008), MacBook Air, MacBook Pro, MacBook Pro (17-inch), MacBook Pro (15-inch Glossy), MacBook Pro (15-inch Core 2 Duo), MacBook Pro (17-inch Core 2 Duo), MacBook Pro (15-inch 2.4/2.2GHz), MacBook Pro (17-inch 2.4GHz), MacBook Pro (Early 2008), Power Mac G5 (Early 2005), Power Mac G5 (Late 2005), PowerBook G4 (15-inch Double-Layer SD), PowerBook G4 (17-inch Double-Layer SD), Xserve (Late 2006)
    http://www.welovemacs.com/2z6916040a.html
    I'd try to find another Mac to make a DMG of it & burn a copy to see if that works better.

Maybe you are looking for

  • How to PRINT a CD booklet in Indesign CS 5?

    I think it's alittle funny that our professor at my 4yr college is teaching us how to make a CD booklet in Indesign using Masterpages and yet he doesn't know how to print it out. Well I'm having trouble printing mine out. I'm making a CD booklet for

  • F110 - No bank can be selected for comp code 8888 payment pethod C cur USD

    Dear All Experts, I am running F110 program, while doing getting this error *No bank can be selected for comp code 8888 payment pethod C cur USD* I have configured the FBZP section with possible all entries as follows :- 1 ) Payment Method in country

  • New BB 10 Software 10.1.0.273 made phone lag

    I went under system updates to see whether there were any updates, and i saw one so i downloaded it. Right after that, i restared my phone for the OS to kick in. When it restarted, the following began to happen... 1) do not receive text msgs and phon

  • Adobe reader 9 download

    I want adobe reader version 9 for windows 7. From where I can download it?

  • Concurrent Manager: Service Manager AUTHENTICATION

    Hi hussein/helios I navigate to System Administrator > Concurrent > Manager > Administer > I checked : Concurrent Manager: Service Manager AUTHENTICATION actual = 1; but target = 0; and Status = Target node/queue unavailable How do I resolve this iss