Skip to content

Latest commit

 

History

History
187 lines (108 loc) · 7.67 KB

CHANGELOG.md

File metadata and controls

187 lines (108 loc) · 7.67 KB

SWF Debugger for Visual Studio Code Changelog

v1.8.2

Fixed Issues

  • Evaluate: Catch more parsing exceptions when evaluating AS3 code in debugger.
  • General: Redirected stdout in dependencies to stderr when using stdout/stdin for debug adapter protocol so that it doesn't send invalid protocol messages.

v1.8.1

Fixed Issues

  • Launch: Fixed null pointer exception when runtimeArgs is null.

v1.8.0

New Features

  • Launch: Can now specify env field in launch.json to set a map of environment variables.
  • Breakpoints: Hovering over a member variable or property in the editor while stopped at a breakpoint will show the value in a tool-tip.

Fixed Issues

  • Launch: Fixed runtimeArgs in launch.json being ignored if runtimeExecutable is not specified.
  • Launch: Fixed detection of Adobe AIR application descriptor output path when the file name is generated from the main class.

Other Changes

  • Dependencies: Apache Royale debugger updated to v0.9.10.

v1.7.1

Fixed Issues

  • Breakpoints: Fixed detection of SDK .as and .mxml source files in debugger on macOS and Linux when the SDK was built on Windows.

v1.7.0

New Features

  • Breakpoints: Added support for conditional breakpoints where an AS3 expression is evaluated to determine if the debugger should stop.
  • Evaluate: Enhanced to support accessing variables from outer scopes inside closures.
  • Evaluate: Enhanced to support members of this without requiring this. at the beginning.
  • Variables: When editing numeric values, now supports hexadecimal integer formatting, which starts with 0x and contains the characters 0-9 and A-F.

Fixed Issues

  • Launch: Fixed failed detection of Adobe AIR application IDs containing the - character.
  • Variables: Fixed setting numeric variable with more than one digit after decimal point.
  • Variables: Fixed setting numeric variable starting with a - character as a negative value.

v1.6.1

Other Changes

  • Documentation improvements

v1.6.0

Fixed Issues

  • Workers: Fixed intermittent issue where worker would remain in a paused state indefinitely after being started.

v1.5.0

New Features

  • Variables: Array members are now displayed as indexed, in the correct order.
  • Launch: Added new asconfigPath field to the launch.json configuration options to allow the use of a custom file path instead of the default asconfig.json .

Fixed Issues

  • Workers: Fix exception when attempting to resume a newly created worker because sometimes they are not started in a suspended state.

v1.4.0

Fixed Issues

  • Launch: Fixed exceptions when trying to run launch configurations defined in .code-workspace file instead of launch.json.

Other Changes

  • General: Switched references from vscode-nextgenas to vscode-as3mxml following extension ID change.

v1.3.0

New Features

  • Launch: Install and launch an Adobe AIR app on the iOS Simulator in Xcode. Set the platform field in launch.json to "ios_simulator".
  • Launch: Automatically provides debug configurations based on the contents your project's asconfig.json file. Debugging is now possible without a launch.json file.

Fixed Issues

  • Breakpoints: Fixed intermittent null reference exception when setting breakpoints.

v1.2.2

Fixed Issues

  • General: Fix NotConnectedException on macOS due to bug in wrong SWF ID returned by runtime.
  • General: Fix issue where the SWF unload was not handled correctly if it happened due to an exception before SWF load.

v1.2.1

Fixed Issues

  • Breakpoints: Fixed issue where adding breakpoints to a SWF with frame scripts added in Adobe Animate could result in an InvalidPathException.

v1.2.0

New Features

  • Workers: Pause, resume, step into, step over, and step out for workers.
  • Stack: When worker stops on a breakpoint or exception, display the worker's stack trace.
  • Variables: When a worker stops on a breakpoint or exception, list the variables in the current scope.

Fixed Issues

  • Breakpoints: Fixed issue where breakpoints added in document class constructor were ignored.
  • General: Fixed issue where an error response to a request that fails incorrectly displayed a token instead of the real text.

v1.1.2

Fixed Issues

  • Breakpoints: Fixed issue where a "no response" exception was thrown sometimes when setting breakpoints before the SWF finished loading.

v1.1.1

Fixed Issues

  • Launch: Fixed issue where mainClass in asconfig.json file was not correctly resolved.
  • Launch: Fixed issue where no failure message was reported on exit when running without debug.

Other Changes

  • Launch: When asconfig.json includes different Adobe AIR application descriptors for "ios" and "android", but the versionPlatform is not specified in launch.json, tries to use "ios" first and then "android" instead of failing.
  • Launch: When asconfig.json includes multiple Adobe AIR application descriptors for desktop platforms ("windows" and "mac"), uses the one that matches the current platform.
  • Miscellaneous: Improved some exception handling related to runtime exitting.

v1.1.0

New Features

  • Evaluate: Added support for assigning values from debug console.
  • Threads: Updates list of workers when one is started or stopped.
  • Variables: Added support for modifying string, number, and boolean values in the variables view when paused at a breakpoint.

Fixed Issues

  • Evaluate: Fixed exception when expression submitted through console when paused. Now displays a more appropriate error message.
  • Step In/Out/Over: Improved exception handling when activated too quickly and runtime is not paused.
  • Variables: Fixed "Invalid variable attributes" message in variables list.
  • Workers: Fixed infinite loop when a worker is paused on exception or suspended for any other reason.

v1.0.2

Fixed Issues

  • Linux: Fixed broken detection of flashplayerdebugger executable location.
  • Adobe AIR: Fixed issue where a custom runtimeExecutable in launch.json would be ignored in some cases.
  • Adobe AIR: Fixed issue where debugger might try to reference default paths to Adobe AIR executables, even if the SDK did not contain them.
  • Adobe AIR: Fixed issue where detecting iOS devices failed if device handle were three digits instead of two.
  • General: If a command like step in/out/over times out, prints a simpler message that no longer contains a stack trace to avoid looking like a crash.

v1.0.1

Fixed Issues

  • Watch: Fixed issue where adding any watch expression failed with an error that made the debugger unresponsive.

v1.0.0

New Features

  • Haxe: In addition to ActionScript and MXML projects, the extension now supports Haxe projects that target Adobe AIR or Flash Player. You can now add breakpoints in .hx files.
  • General: No longer requires a workspace containing an asconfig.json file to debug SWFs. Missing fields in launch.json will still be automatically populated, if asconfig.json exists. However, if the file doesn't exist, all fields can be set manually, and helpful error messages will indicate if a field is missing or invalid.
  • Attach: When specifying platform to install an Adobe AIR app on a mobile device, you may also specify its applicationID to uninstall any old versions, and the path to an .apk or .ipa bundle to install. These two new fields are automatically populated from asconfig.json, but may be specified manually for Haxe projects.

Fixed Issues

  • Attach: Fixed issue where port forwarding was not correctly cleaned up when finished debugging an Adobe AIR app on an Android device.

Other Changes