Skip to content

Improvements, including disruptive changes to log points #237

@zero-plusplus

Description

@zero-plusplus

The format to output the current variable is as follows.

  • {AutoHotkeyVariableName}
  • {Object:DEPTH}
  • {{MetaVariableName}}

With the change in the evaluation method for conditional breakpoints, I would like to make the following changes.

  • {expression}

Expressions will support four arithmetic operations, functions, etc., as shown in the example following.

;  basic arithmetic operations
num_1 := 1
num_2 := 2
; @Debug-Output => {num_1 + num_2} = 3

; Object Manipulation
obj := { a: "a", b: "b" }
; @Debug-Output => {ObjCount(obj)} = 2
; @Debug-Output => {ToYaml(obj)}

; The following is an alternative to `{Object:DEPTH}`
obj2 := { a: { b: { c: { d: "" } } } }
depth := 3
; @Debug-Output => {Retrieve("obj2", depth)}

; The following is an alternative to `{{MetaVariableName}}`
; @Debug-Output => {Retrieve("{hitCount}")} = 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    draftDraft of new features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions