[frs-393] Production Debugger / Decompile in ColdFusion 9 requires the “Save Class File” option.

Decompile

Decompile is a feature FusionReactor provides when running with Java 1.7 or newer. Only Manager and Admin users have the ability to use decompile. It is important to state that decompile is not available over the J2EE channel (External Web Port).

In case you are using ColdFusion 9 server and you want to decompile ColdFusion classes, then you need to make sure that the "Save Class File" option in the ColdFusion administrator page is enabled.

In order to make sure this option is enabled, please follow the steps below.

  1. Login to the ColdFusion Admin.
  2. Under Server Settings go to Caching.
  3. Locate the Save Class File option and check is the option is enabled.
  4. If the option is not enable, please click the small square in front of the Save Class File option.
  5. Click the "Submit Changes" button.

In order for the new Submitted changes to be successful and take action, please restart your server.

After the restart of the server, you will be able to access the configured Breakpoint on the Production Debugger and decompile ColdFusion classes.

Below, there is an example that is going to guide you through the whole process of the Decompile configuration in a ColdFusion 9 server.

First step : Access the FusionReactor instance and check if the decompile option works.

It's important to state, that firstly you need to configure a new Breakpoint inside the Production Debugger. More information about the configuration of the Breakpoint can be found here: [docs.intergral.com/display/FR61/Breakpoints]

I have already configured that step. See screenshot below.

  • I have executed the sleep.cfm file and the configured Breakpoint in the Production Debugger was triggered.
  • Press the Debug icon and a new page is going to appear.
  • Go to the ColdFusion classes and try to decompile the first.
  • By pressing the first ColdFusion class, you will see at the top right corner of your screen a red message stating that you are not able to load bytes of the class.

Second Step : Go and configure the ColdFusion Admin page.

  • Access the ColdFusion Admin page.
  • Go to Server Settings > Caching.
  • Click/enable the Save Class File option.
  • Restart the server.

Third Step : Repeat the First Step.

Because the Save Class File option is now enabled in your ColdFusion server, when you press the first ColdFusion class you will see that the decompile works as expected and is ready for use. See screenshot below.

Issue Details

Type: Technote
Issue Number: FRS-393
Components: Production Debugger
Environment:
Resolution: Fixed
Last Updated: 03/Aug/16 10:07 AM
Affects Version: 6.0.0
Fixed Version: 6.2.0
Server:
Platform:
Related Issues:

Comments are closed.