PB-debugger

xiaoxiao2021-03-06  71

Debug button

-> Enter the Debug Drawboard

Application branch on the right

-> Select Event to set the breakpoint, double click, the program code will display the top left window.

Double click program code

-> Set / cancel breakpoint (red dots appear / disappearance)

Use Start, Stepin, Stepover, Stepout, Continue, and StopDebugging

-> Control tracking process

Set condition breakpoint

-> Switch to the BreakPoints window (the lower right window Breakpoints tab) -> Double-click the event you want to set the condition breakpoint (guarantee that the breakpoint has been set on the code), open the Edit Breakpoints dialog -> in the Condition Edit box Input conditions, such as LL_ItemNum = 107, indicating that the program is interrupted when the local variable LL_Itemnum is 107.

Add Watch (observation) variable

-> Switch to the Watch window (on the lower right window Watch tab) -> Select the variable to be observed from the left to drag it into the Watch window.

转载请注明原文地址:https://www.9cbs.com/read-108440.html

New Post(0)