Appendix - Creating Contexts
Prev |  | Next

## Appendix - Creating Contexts

As specified earlier, the user can specify a call-chain as a context for the slice. To do so, navigate to the method containing the criteria to be used for the slice in the editor and open the Call Hierarchy view by choosing Open call hierarchy from the context menu. Switch to Caller mode by pressing the Show Caller Hierarchy toolbar button. Expand the chain of method calls until a desired method is reached. Select the method starting the call chain and choose Indus -> Add to context from the context menu. This adds the call chain to the list of call-chain contexts available for slicing. This can then be picked from the Slice Configuration dialog before performing a slice.

Figure 14. Adding a call chain as context

Note that the created call chain contexts are not serialized and are lost when the session is closed.

Prev | Up | Next
Appendix - Creating Scope Specifications | Home | Appendix - Adding custom root methods