on_pre_program

on_pre_program()

Called before MPLAB X IDE programs the device.

Example 1

def on_pre_program():
  log.info("on_pre_program")
  labelAddress = deb.GetSymbolAddress("labelInSourceCode") 
  deb.SetTempBP(labelAddress, "unused")

on_program_done()

called after the image is programmed

Example 2

def on_program_done():
    log.info("on_program_done")