on 10-19-2005 1:16 PM
Hi all,
I have a global routine for 0logsys infoobject that assigns the source system. Does anyone know how I can debug this routine. Can I debug this routine from Monitor->infopackage->simulate update option.
please let me know
thanks
Sabrina.
Hi Sabrina,
You can do that but it would be confusing to debug there. Instead try this.
Set a breakpoint in the code where you want. Now execute the infopackage. The processor will stop at the breakpoint. Now goto SM50 & select the GP**** program and goto Program/Mode(from menu) -> Program -> Debugging. Now debug from your breakpoint.
Hope this helps.
Bye
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dinesh's suggestion is good...but I think you cannot put breakpoint...you have to put an endless loop in your code so you can access in debug mode in the process management in SM50 (as already suggested)...
Just before the code insert:
DATA FLAG TYPE C.
CLEAR FLAG.
DO.
IF FLAG = 'X'.
EXIT.
ENDIF.
ENDDO.
When you are in debug, change the parameter in 'X' and...voilà !
Hope it helps!
Bye,
Roberto
Hi Sabrina,
Yes. Roberto is right. My suggestion would work only in a Dev box where you can set breakpoints and not in QA or Prod.
Bye
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.