‎2009 Nov 25 10:34 PM
Hi ,
I am trying to debug my update task FM and it cannot be debugged before the COMMIT statement is executed.When exactly should i set the 'update debugging' so that the program will stop at the breakpoint in the Update-task-FM after having executed the COMMIT statement ? Kindly suggest.
‎2009 Dec 02 6:02 PM
>
> Hi ,
>
> I am trying to debug my update task FM and it cannot be debugged before the COMMIT statement is executed.When exactly should i set the 'update debugging' so that the program will stop at the breakpoint in the Update-task-FM after having executed the COMMIT statement ? Kindly suggest.
OK, given Rob's view, here we go.
Set a break point in your update task FM. Set a break point on the commit statement. Run the transaction. You'll enter the debugger at the commit statement. Now set UPDATE DEBUGGING on, and continue. A new debug window will open in the update task. Hit F8, and the debugger will stop at your break point in the update task.
matt
‎2009 Nov 25 10:59 PM
[Please see this|http://lmgtfy.com/?q=DebuggingaFMinUpdate+Task]
Rob
‎2009 Nov 26 1:15 PM
‎2009 Dec 02 4:03 PM
Destructive !
My point was when do i exactly set the update debugging once i am in normal debug mode.And this was the question as the posts i found through google was not sufficient to answer my question !!
Maybe i should report this !!
‎2009 Dec 02 4:06 PM
bad luck ....if you report this ..it will goto Rob only ..can you read M sign after his name
well you can set update debugging any time
‎2009 Dec 02 4:14 PM
hard luck i guess !!
surely not my day.
but thanks for the update ..
‎2009 Dec 02 4:20 PM
I love that lmgtfy... Please read the rules and do what Rob said - search. You'll find the answer with a bit of work.
matt
‎2009 Dec 02 4:21 PM
>
> bad luck ....if you report this ..it will goto Rob only ..can you read M sign after his name
>
> well you can set update debugging any time
It might end up with Julius 😮
‎2009 Dec 02 4:21 PM
‎2009 Dec 02 4:29 PM
Actually, I'm a bit embarrassed. I think the question was more reasonable and complex than I had originally thought.
Rob
‎2009 Dec 02 6:02 PM
>
> Hi ,
>
> I am trying to debug my update task FM and it cannot be debugged before the COMMIT statement is executed.When exactly should i set the 'update debugging' so that the program will stop at the breakpoint in the Update-task-FM after having executed the COMMIT statement ? Kindly suggest.
OK, given Rob's view, here we go.
Set a break point in your update task FM. Set a break point on the commit statement. Run the transaction. You'll enter the debugger at the commit statement. Now set UPDATE DEBUGGING on, and continue. A new debug window will open in the update task. Hit F8, and the debugger will stop at your break point in the update task.
matt