Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Creative Suite Developer Center / Creative Suite Extension Builder /

Debugging Workflows in Creative Suite Extension Builder

by Lea Savage

Lea Savage

Content

  • Launching workflows
  • Where to go from here

Created

16 May 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
CS Extension Builderdebuggingextensibility
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

You should be familiar with Creative Suite Extension Builder and creating Creative Suite extension projects.

 

Additional required Adobe products

At least one Creative Suite 5 (or later) product

User level

All

Required products

  • CS Extension Builder 1.5 (Download trial)
  • Flash Builder 4.7 Standard (Download trial)

This article outlines some of the workflows available within CS Extension Builder for launching a Creative Suite extension project so that it is available for debugging within a Creative Suite application. This article accompanies the Debug workflows using CS Extension Builder demo recording.

Launching workflows

Here are some of the workflows you can use to launch your CS Extension project in its target application from within CS Extension Builder.

Run As

The Run As option in CS Extension Builder lets you test your extension by running it in the target product, without having to go through the installation process.

To use the Run As workflow:

  1. Close the target application if it's currently running.
  2. In CS Extension Builder, select the project and choose Run > Run As, then select the Adobe product that you want to launch.
Figure 1. Selecting the extension
Figure 1. Selecting the extension
  1. If prompted, select the version of the product to target (this only happens if multiple versions of the target product are installed). The target product starts and your extension is available in the Windows > Extensions menu.

Debug As

CS Extension Builder lets you use its own debugging tools on your extension's code while the extension runs in the context of its target Creative Suite product.

To use the Debug As workflow:

  1. Close the target application if it's currently running.
  2. In CS Extension Builder, select the project and choose Run > Debug As, then select the Adobe product that you want to launch.
fig02
  1. If prompted, select the version of the product to target (this only happens if multiple versions of the target product are installed). The target product starts and your extension is available in the Windows > Extensions menu.

CS Extension Builder uses the Flash Builder debugger, which lets you add breakpoints to the code to generate the Flash Builder debugger perspective. See Debug workflows using CS Extension Builder for a comprehensive demo of the Debug As workflow.

Figure 3. Adding breakpoints to the code
Figure 3. Adding breakpoints to the code

Attach As

The Attach As option in CS Extension Builder works like the Attach to Process feature, which is commonly available in Microsoft Visual Studio or Apple's XCode. This feature is currently only available in Illustrator, InDesign, InCopy, Flash Pro, and Dreamweaver.

To use the Attach As workflow:

  1. Open the target Creative Suite product.
  2. In CS Extension Builder, select the extension project, right-click, and choose Attach As, then select the running application.
Figure 4. Selecting the extension
Figure 4. Selecting the extension

The extension is now available for debugging within the running application.

If the product is not already running, the Attach As option is not available; the target product is grayed out in the Attach As menu.

Figure 5. Unavailable extension
Figure 5. Unavailable extension

See Debug workflows using CS Extension Builder for a demo of the Attach As workflow.

Profile As

CS Extension Builder lets you use the Flash Builder's Profiler tools to profile an extension while it is running within a Creative Suite application. This feature is only available to Flash Builder Premium users.

To use the Profile As workflow:

  1. Start the target Creative Suite product.
  2. If the Welcome Screen appears, select the "Don't show this again" option.
  3. Close the product.
  4. In CS Extension Builder, select the extension project.
  5. Right-click, choose Profile As, and select the product that you want to target.
  6. If prompted, select the version of the product to target. The target product starts and your extension is available in the extensions menu of the target product.
  7. In the target product, choose Windows > Extensions, and open the extension.
  8. In the Connection Established dialog in CS Extension Builder, click Resume to begin profiling.

See the Flash Builder's documentation for further information about using the Profiler tool.

Where to go from here

This article detailed the available launching options available within CS Extension Builder. If you want to learn more about the debug workflows, refer to the CS Extension Builder Programmer's Guide.

More Like This

  • Developing extensions for multiple versions of the Creative Suite
  • So you want to sell your Creative Suite extensions?
  • Developing hybrid extensions with Creative Suite Extension Builder
  • Overview of Adobe Creative Suite Extensibility
  • Handling XMP Metadata with Creative Suite Extension Builder
  • Developing multiple Creative Suite extensions
  • Adobe Creative Suite image conversion utility
  • Introducing CS Extension Builder 1.5
  • Skinning Creative Suite extensions

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement