Forums › Forums › SIMPOL Programming › debugging appframewok
- This topic has 1 reply, 2 voices, and was last updated 13 years, 5 months ago by
Michael.
- AuthorPosts
- January 6, 2013 at 5:12 pm #79
Jean Vallee
ParticipantTrying to familiarize myself with appframework and came across this quirk: Set one breakpoint inside checkneedsave function Ran program (addressbook and payroll) Edited a single field On the menu, clicked Add Data Debugger stops on correct line but debug tools are turned off including continue thread execution. Very frustrating. How do I get around this? Also: Set single breakpoint in selrec function in toolbar Run app (addressbook or payroll) edit a single field click select next record button in toolbar Does not detect the record was changed and advances to the next record. Supposed to work this way? Jean Vallee
January 23, 2013 at 12:07 pm #2038Michael
KeymasterOn 06/01/2013 17:12, JV wrote:
> Trying to familiarize myself with appframework and came across this quirk:
>
> Set one breakpoint inside checkneedsave function
> Ran program (addressbook and payroll)
> Edited a single field
> On the menu, clicked Add Data
>
> Debugger stops on correct line but debug tools are turned off including
> continue thread execution.
>
> Very frustrating.
>
> How do I get around this?
>
> Also:
>
> Set single breakpoint in selrec function in toolbar
> Run app (addressbook or payroll)
> edit a single field
> click select next record button in toolbar
> Does not detect the record was changed and advances to the next record.
> Supposed to work this way?
>
> Jean Vallee
>The application framework is multi-threaded. At the point you reached, the debugger stopped, but was in the wrong thread. You have
to go to the menu Debug->Thread Manager…. When the dialog comes up, select the correct thread, then click on "Set Focus" to
change which thread the debugger is currently working in, and then close the dialog by clicking the close gadget. At that point
you should see your variables, etc. and the debug items should be enabled.Ciao, Neil
- AuthorPosts
- You must be logged in to reply to this topic.