Salesforce

Remote Debugging (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Remote Debugging (Magic xpa 3.x)

The Remote Debugger lets you debug the user's environment, live.

The Remote Debugger is similar to the Debugger; however, in this mode, your local Debugger, looking at a local copy of the project, is hooked into another copy of the application as a Cabinet file.

The Cabinet file does not have to be local to this machine. In fact, it can be on any server, and since it is working from an .ecf file, it can be a Magic xpa file that is live, in production. You can use this to track down those esoteric bugs that only happen for certain users.

Using the Remote Debugger requires that two Magic xpa engines be working, one that uses the Runtime engine, and one that uses the Studio engine. You do this as follows:

  1. Set the Enable Remote Debugger environment setting to Yes.

  2. Specify the Remote Debugger Port Number environment setting. If you have two applications running at the same time on the same machine, they need to have different port numbers specified.

  3. If you want, you can also specify a Remote Debugger Right. This is done in the Task Properties, before you create the Cabinet (.ecf) file. If you specify a right here, then you will need to login with a User ID that has that right.

  4. Start the Magic xpa Studio, opening the .edp file that corresponds to the .ecf file you are already running.

  5. From the Debug menu, select Attach to a remote engine. The Establish a Connection dialog box opens.

Related Topics

Reference
Attachment 
Attachment