2015 Aug 03 7:16 PM
I'm on HANA SPS7 and Netweaver 7.4 SP 7.
Did everything according to the tutorial
Granted the debug/execution authorization to the debug user, made the debug configuration and set the breakpoints in the corresponding catalog object.
But when I run the ABAP report (that calls my AMDP), the execution doesn't stop at my breakpoints.
I was able to step-into from my ABAP report method call to the first line of the AMDP catalog object, but I can't see my breakpoints in the debug perspective. And as stepping inside the AMDPs are not supported yet, I can't really debug it.
Am I doing something wrong here?
Please help.
2015 Aug 04 9:03 AM
Hi,
the break point view shows the check mark icons at the procedure break points. So it seems that you already surpassed these break points. Can you restart the SQL Script debugger and try again?
Cheers,
Jasmin
2015 Aug 04 9:31 AM
Hi Jasmin,
As you can see on my first screen shot, that check mark on the breakpoint comes even before I start the debugger. Am I doing something wrong?
Anyway, I've done this more than few times now, but the result's the same. It never stops on the breakpoints
Thanks,
Jay
2015 Aug 04 12:28 PM
Hi Jay,
I just checked my system and had a similar observation. It gave me an exception, that there had been "on-the-fly" compilations, don't know if the same thing happened in your system.
Do you have an option (in the debug configuration) to compile "Procedures with breakpoints"? This option handles, which procedures are compiled in debug mode. But I'm not sure whether this option is already available in HANA SPS7.
IMHO, your breakpoint is not hit as it is "removed" by the optimizer and hence not accessible in the debug session.
One other question, can you reproduce the debugging shown in the video/document (http://scn.sap.com/docs/DOC-51790)?
Cheers,
Jasmin
2015 Aug 04 7:03 PM
2015 Aug 05 1:09 PM
Hi Jay,
not saying, that your breakpoints are "removed by the optimizer", rather the coding might be optimized, hence the breakpoints are lost... If that's the case the option "Procedures with breakpoints" in the "Advanced" tab of your Debugger Configuration might help.
Please give it a try, use this option, restart the debugging (and cross your fingers ;-)).
Cheers,
Jasmin
2015 Aug 05 7:07 PM
Hi Jasmin,
As I've mentioned earlier, I tried both options on the advance tab of the debug configuration;
"All procedures on the call stack" & "Procedures with breakpoints", and had no luck.
Thanks,
Jay
2015 Aug 05 8:35 PM
Hi Jasmin,
Think I know where the problem is, but without a solution
So I tried just debugging the procedure itself, following this nice blog by Rich Heilman.
Then got this "Source not found." error as many other people.
Went through the posts under your blog, and the following, but non them gives a proper answer.
2015 Aug 31 7:23 AM
Hi Jay,
I have gone through same issue, just i have reinstalled HANA studio side by side i have checked in different system also and it worked.
-Amol
2015 Aug 31 5:14 PM
Thanks much for this reply Amol.
So just reinstalling the studio solved the issue?
Or you did something else?
And which studio version you're having and which HANA SPS level?
Thanks,
Jay
2015 Sep 01 10:30 AM
Hi Jay,
Yes I have reinstalled studio and it started working.
I am suggesting you if reinstalling studio doesn't work then check on differnt machine.
I was on SP8.
-Amol S