SdbTraceOption

    包括指定模块、断点、线程号、函数以及线程类型等参数。

    SdbTraceOption() [.components( <component1> [,component2…] )]         [.breakPoints( <breakPoint1> [,breakPoint2…] )]         [.tids( <tid1> [,tid2…] )]         [.functionNames( <functionName1> [,functionName2…] )]         [.threadTypes( <threadType1> [,threadType2…] )]

    SdbTraceOption() [.components( [ <component1>, <component2>, … ] )]         [.breakPoints( [ <breakPoint1>, <breakPoint2>, … ] )]         [ .tids( [ <tid1>, <tid2>, … ] )]         [.functionNames( [ <functionName1>, <functionName2>, … ] )]         [.threadTypes( [ <threadType1>, <threadType2>, … ] )]

    模块方法

    可选值描述
    authAuthentication
    bpsBufferPool Services
    catCatalog Services
    clsCluster Services
    dpsData Protection Services
    migMigration Services
    msgMessaging Services
    netNetwork Services
    ossOperating System Services
    pdProblem Determination
    rtnRunTime
    sqlSQL Parser
    toolsTools
    barBackup And Recovery
    clientClient
    coordCoord Services
    dmsData Management Services
    ixmIndex Management Services
    monMonitoring Services
    mthMethods Services
    optOptimizer
    pmdProcess Model
    restRESTful Services
    sptScripting
    utilUtilities

    断点方法

    线程方法

    参数名参数类型默认值描述是否必填
    tidint / int array所有线程指定线程

    函数方法

    线程类型方法

    参数名参数类型默认值描述是否必填
    threadTypestring / string array—-指定线类型

    常见错误可参考

    • 开启监控程序
    • 对于方法中存在多个参数的情况,可以通过多次调用该方法指定参数