Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging from SM50

Former Member
0 Likes
2,880

Hi All,

Debugging from SM50 for a function module is triggering only in some cases for the same test case....!!!!

I need to debug a Function module which is called from an Event.

To debug this I have written While...EndWhile Infinite Loop, and debugging it from SM50, but the problem is It is going to debugging mode in few cases for he same Test case .

What could be the problem , if some one has come across this kind of problem then please try to help me out ....

Waiting for your Inputs

5 REPLIES 5
Read only

Former Member
0 Likes
1,563

Can any one help me out please !!!

I was able to debug today but suddenly it has stopped working

Read only

0 Likes
1,563

Well try loging off and login again to reset your session cache. Give it a try,

Read only

0 Likes
1,563

Dear FY..thanx for your reply , I have tried the same but no use

Can you give some more inputs or ideas please....!!!!

Read only

0 Likes
1,563

Hello.

Do you have to run it in background?

If not, don't use SM50. Just put a break point before the WHILE statement and run it in SE38 normally.

If yes, remeber that SM50 don't stop the processing if it would get a short dump, i.e, if in the second you click debug the runtime is in the middle of a comit process, or something similar, it will wait until give debug to you.

Best regards.

Read only

0 Likes
1,563

The other work around is. Go to SM37 and check for your current batch job.

Select it and in the command input box (where you input the transaction codes like SE38 etc) type in JDBG. This will trigger the background debugging mode. This dose work.

Hope this helps.