Next or previous statement
Simply I want to know when the hardfault occured(code statement)?I cant use debug so If I try to read program counter in hardfault function this returns me hardfault program counter.How can I know where Hardfault occurs by reading its program counter?So I must find previous statement when It is in the hardfault?At least I must know next statement(program counter's) in hardfault in case it is impossible to know previous statement.
#program-counter