Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders 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
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 Builder debugging extensibility

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.5 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

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

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

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 © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement