Frank is a Software Engineer with rich experiences on messeging system, embedded system and communication system development. This is his work notes.

Wednesday, June 28, 2006

Checking stack blowing wih Palm OS Debugger

Go to the debug tab in POD (Palm OS Debugger)
Type prot nub kinfLook for your thread and get the top of the stack pointer (not the current stack ptr)
Type prot nub dbreak 0x.... (the address of the top of the stack)
Then it will break if you ever write to the top of the stack.

By the way, I found Palm Debugger and Palm OS Debugger would conflict while conncting to device, only one should work at one time.

No comments:

Followers