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

Help on debugging.

Former Member
0 Likes
496

Hey I am debugging a transaction PFCG (To create roles).

In this when I set a breakpoint for a FM 'PRGN_RFC_CREATE_ACTIVITY_GROUP' used in this transaction , it is set successfully.

But when i press 'F8', it does not stop there , needed some help on this.

3 REPLIES 3
Read only

dev_parbutteea
Active Contributor
0 Likes
447

Hi,

if it didn't trigger the break point, the execution must not be going the the said FM

Read only

former_member632729
Contributor
0 Likes
447

Hi Dude,

I hope their may be any condition need to be satisfy to execute that FM.. If that is not satisfying then the cursor wont to their and it wont stop..

Change the point of debugger..

Read only

MarcinPciak
Active Contributor
0 Likes
447

Excatly as Dev said. If you still want to ensure that break point is set correctly, do like this:

- before running PFCG switch the debugger on by typein /h in command field

- run the program, it will stop on the first line as debugger is activated

- press F9 and set break point, go to tab Function and paste PRGN_RFC_CREATE_ACTIVITY_GROUP there.

The breakpoint will be set in any calls of this FM, so when it is reached debugger will stop, otherwise it means it never goes to this point.

Regards

Marcin