次の方法で共有


Target Control Debugging: zo Command (Compact 2013)

3/26/2014

This command performs debugging zone operations.

Syntax

zo ["p","m","h"] [index,name,handle] [<zone>,[["on","off"][<zoneindex>]*]*]

Parameters

  • p
    Specifies per-process operations, and can be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.

    Examples:

    To display the zone names for the process at index 2:

    zo p 2
    

    To set bits 3 and 5 on, and bit 2 off for process 3:

    zo p 3 on 3,5 off 2
    
  • m
    Specifies per-module operations, and can be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.
    • Name
      Specifies the name of the process or module. If no further parameters are specified, this command returns the current settings with the zone names.
      Name can be modified with the following options:
      • Zone - Zone to which this process or module zone is set. Any hexadecimal values must be preceded with 0x.
      • On - Indicates whether to set the bits of the current zone mask on.
      • Off - Indicates whether to set the bits of the current zone mask off.

    Example: To set the zone for the module at index 0 to 0x100:

    zo m 0 0x100
    
  • h
    Specifies an hProcess handle or a pModule object, and can be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.
    • Handle
      Specifies hProcess/pModule.

    Example: To print zone names for the proc/module with hProcess/pModule of 8fe773a2:

    zo h 8fe773a2
    

Remarks

If you do not specify any arguments for the zo command, it prints the current setting with the zone names.

See Also

Reference

Target Control Debugging