In x64dbg, you can set a software breakpoint by navigating to the address where you want the program to pause and pressing the F2 key (or right-clicking and selecting Breakpoint | Toggle). To set a hardware breakpoint, right-click on the location where you want to set the breakpoint and select Breakpoint | Set Hardware on Execution.
You can also use hardware breakpoints to break on write or break on read/write (access) to a memory location. To set a hardware breakpoint on memory access, in the dump pane, right-click on the desired address and select Breakpoint | Hardware, Access, and then choose the appropriate data type (such as byte, word, dword, or qword), as shown in the following screenshot. In the ...