cancel
Showing results for 
Search instead for 
Did you mean: 

Attaching a Debugger to Engineer

Community Manager Community Manager
Community Manager

With the ability to set a stop point in any Property formula from a right-click on the Property in the Property display window (generally lower right of the Engineer window, if enabled), you need to connect a debugger to Engineer to step through your formula and look at the values of variables within it.

 

NOTE:

  •  The following needs to be set for JIT debugging:

P1.jpg

  •  If running 32-bit Rulestream this key needs to be set as well:

p2.jpg

 

Here are the steps:

1. Start Engineer

2. Attach a Visual Studio 2015 debugger to the Engineer process by starting up Visual Studio 2015, then choosing Debug > Attach to Process…

1.png

 

3. Select the RsEngineer.exe process from the Dialog that opens:

2.png

 

4. In Engineer, select the Property or Properties that you wish to debug by right-clicking on each property desired, choose to Debug Formula and then select the action you want to debug:

 3.png

 

Value inserts a "Stop" in the Formula for this Property

When Changed inserts a "Stop" in the When Changed Formula for this Property

Valid Values inserts a "Stop" in the Valid Values Formula for this Property

User Interface inserts a "Stop" in the UI Formula for this Property

 

 5. When the specified condition is met the selected Formula will be displayed in the Debugger so that the values of the variables in the formula may be examined.

Contributors