Debug technique - how to?

Hi,
I would like to stop processing for debug in a function module, called in a way:
CALL FUNCTION 'My_Function_Module_Name' STARTING NEW TASK '0001'.
Is it possible? If yes - How?
Explanations: Calling FM
...CALL FUNCTION 'ENQUEUE_E_TRDIR'...
from my FM 'My_Function_Module_Name' I achieved starting of only 1 instance of my FM 'My_Function_Module_Name' at a time. If I call it without the addition 'STARTING NEW TASK...' everything behaves as expected, but I'm unable to check if the FM will behave correctly if I call it as expected - with mentioned addition.
Correctly means if there will be only 1 instance at a time.
Any help whould be highly appreciated.
Many thanks in advance.
Regadrs,
Ivaylo Mutafchiev

Well, searching the forum  sometimes gives the answer or idea
Ok, I think I found the scenario - it is to use entire power of parallel processing:
CALL .. STARTING NEW TASK PERFORMING someTaskInCaller ON END OF TASK
should do the trick and help me check what's going on in my 'parallel' task.
And I think, it's impossible to debug task started in parallel process, isn't it?
Thanks,
Ivaylo

Similar Messages

  • Hi experts in ale what is change pointers technique , how we will use ,

    hi experts in ale what is change pointers technique , how we will use ,   & when plz explain

    Hi,
    Refer the  Below links
    [http://articles.techrepublic.com.com/5100-10878_11-1048973.html|http://articles.techrepublic.com.com/5100-10878_11-1048973.html]
    [http://abapprogramming.blogspot.com/2008/01/ale-change-pointers.html|http://abapprogramming.blogspot.com/2008/01/ale-change-pointers.html]
    Regards,
    SB

  • Re: Application Crashing - Debugging Techniques?

    Hi
    If it's crashing when you deploy ,you know where it crashes,
    i mean, it
    crashes when you do a certain thing on your application
    doesn't it? If this is
    the case the best thing you cam do is use breakpoints on
    flexbuilder debugging
    to see what's happening where it crashes. If the application
    makes use of
    remote services, such as HTTPSEVICE,WEBSERVICE,ETC. perhaps
    you have forgotten
    to change localhost to the name of your server, or you can be
    missing the
    crossdomain.xml file on your server.
    This is all guessing since i don't know what it says when it
    crashes, so if
    you want you can send a link to us to see where it crashes or
    simply put here
    the message it gives.

    You misunderstood. It crashes with the Flash player by just
    running it outside of the Flex Builder debug state... same
    application, same source, same data-locations, etc.. it's not a
    deployment issue, it's a stability issue. The application is not
    specific to when it crashes... it's very much a stability thing for
    my application and Flash. Need debug techniques OUTSIDE of flex
    builder. Running the Flex Builder debug state creates a completely
    stable application. I can't get it to crash. But it won't be
    running this way in the real word.

  • Can u pepople say one thing 'what is debugging' and how to debugg ?

    what is the debugging ?
    and how to dubugg the report ?

    when the actual output is differ from the expected output then there is some mistake in code, then we use Abap Debugger.
    In debugger we analyze, how the data is flowing in the program, what values are contained by variabes at run time.
    Internal tables are populating properly or not.
    u can start the ABAP / 4 Debugger in different ways
    1 : By entering
    /H in command box. and Clicking the Execute button .
    2 : In ABAP / 4 editor, by executing a program
    Choosing Program-->Execute -->Debugging
    from the Menu.
    3 : Setting Breakpoint in the Program.
    following links will help u to understand it better.
    http://www.sap-basis-abap.com/sapab002.htm
    http://www.sappro.com/downloads/Settings&SystemAreas.pdf

  • [Debugging help] How to stop program at certain criterion

    Dear experts,
    I would like to ask for a debugging skill.
    I have a table loop about 1000 records. There is a variant ID, I would like to stop when ID equals a value like 'XXXXX'.
    How can I set up breakpoint to make loop stop when ID='XXXXX'
    Thank you

    Or you can set break point in your code:
    IF ID='XXXXX'.
    break-point.
    * or break <your username>
    ENDIF.
    regards,

  • Debugging TEchniques

    Hello I want a tip on how to debug in JSP. I dont know which line of code I went wrong so what i usually do on Java SE is to print out MARKS but seems like it is different here. Although I can place marks using the scriptlet but what about on class files' methods? I cant do the system.out.println....

    That's one of the many reasons that you shouldn't be writing raw Java code in JSP files. There they are not for, JSP's are intended for presentation only. You use taglibs and EL to control the flow and output. Scriptlets in almost all cases just indicate a bad design.
    Write Java code in Java classes. Use servlets to control and process requests, use beans to store and transfer data, use utility classes for commonly (re)used static methods, use DAO class to interact with the database.
    To debug the Java code, just use an IDE like Eclipse Ganymede and IntelliJ IDEA. A decent IDE has a built-in debugger where in you can follow and control the code execution step by step in realtime.
    When JSP's are free of scriptlets and well-written, there is usually no need to debug them.

  • Restart the server in debug mode: How to drop saved passwords?

    In NWDS server pane, I entered a wrong password when trying to restart my SAP AS Java in debug mode. Now I only get exceptions "com.sap.enginemanagement.UnauthorizedException: Incorrect login information provided" without a chance of changing the entered credentials. Restarting NWDS didn't work.
    Any ideas?
    Thx,
    Christoph

    Hi Christoph,
    are you talking about the "Java EE" perspective and the "Servers" view within it? I tried it out and it does not behave properly.
    Try the "SAP Management" perspective. Within the left hand tree open your system, expand the instance starting with "J..", expand the "AS Java" node and select the "Process Table" node. In the right hand table select the server0 process and chose from the context menu "Start Debug Session".
    The SAP JVM offers some extra debug options. Expand the "Expert Mode" in the modal dialog. If you want to debug web applications select "code isolation" and unselect all other options. A password dialog will appear and you must enter the credentials for the operating system user, not for the AS Java administrator.
    One table column is labeled "Debug", there you can see the currrent debug port.
    Either you start now a "Remote Java Application Debug" debug session or you have a Java EE project and can create a "SAP Application" debug session.
    Anyway to see your application threads in the debugger you have to access your web application with a special debug URL.
    If your URL looks like this: "http://localhost:50000/myapp" you have to insert a debug token beween host part and the path and the URL becomes "http://localhost:50000/@@@DEBUG@@@/myapp". If you miss to modify the URL you will not see any thread.
    If you want to get a "normal" debug behaviour just deselect all options in the debug dialog. You will see all threads, you do not have to modify your URL, but the server will restart after you detached the debugger.
    Hope this helps.
    Best Regards, Stefan
    Edited by: Stefan Bodenstein  on Oct 1, 2008 12:00 PM

  • Gateway crashed after debug command - how to recover

    Hi - I was troubleshooting an issue out of hours and the voice gateway I was working on crashed after using a debug command
    Whats the best way to recover the gateway?
    I'm unable to ping it now - do I need someone to reboot it?
    Once it comes back up with debugging still be active ?

    Chris if the debug you entered is too processor intensive then the only way to recover is to reboot. After Reboot the debugs are turned off.
    Sometimes it becomes too slow but you are still able to access it intermittently if thats the case then you can wait for it become accessible for a small period of time and try to quikly enter u all (undebug all) otherwise if its completely inaccesible your only way to recover is to reboot.
    -Terry

  • Debug technique to locate VI which is "hanging"/waiting. Pause button - is not working.

    During development I now and then experience that the top-vi simply "hangs". The debug Pause button does not break into the program - it turns red but nothing happens.
    I can stop with "Abort button", but then I can't see which vi was stuck in a waiting state - this information is lost.
    Are there a way to determine the "state" of sub-vi's in a running application (during development).
    like a list:
      A.vi : Running
      B.vi:  Waiting for IO, queue or similar
      C.vi:  terminated
    That would help locating the problem.
    Any clever tricks?
    Solved!
    Go to Solution.

    Many thanks for your valuable suggestions. I used your suggestion about the running vi indicator with success:
    1) Engage the Pause button in the hung application
    2) Open block diagram,
    3) Find runnning vi indicator (see image below).
    4) Open this vi,
    5) Engage its Pause button.
    6) locate the running vi arrow.
    ...and so forth down the tree. Except it only works for vi's having dfebugging enabled.
    I found the issue with my application - reported http://forums.ni.com/t5/LabVIEW/Continuous-Measurement-and-Logging-Template-May-hang-up-due-to/td-p/....

  • Running Form in Debug Mode: How? (Appletviewer/J initiater)

    Hi All,
    I have a sitiuation where i would like to run a form with debug_messages='YES'. The form is compiled under Forms 4.5 16 bit Windows 95. It is run with J-Initiater under a NCA enviroment. Is there a command parameter to run the fmx in debug mode, probably as a applet parameter or something.
    Thanks,
    Easo

    You can also check Francois Degrelle excellent answer to the same question:
    Running a form in debug mode

  • What is "malloc error break to debug" and how do i stop it?

    Sometimes when I am running an application for about ten minutes I get a message that says in the console.  "Malloc error break to de-bug" (something like that) after that I normally crash.  Does anyone know what that is and how to fix it??

    If the internal temperature gets too high, you will see the following.
    Has this occured?

  • Debugging ECC6: how to see the fields name when download internal table?

    When we debug a reprot in ECC6 and save to a local file an internal table, the fields are not appearing only the data,
    Is there a way to download also the table fields name?

    From the new debugger switch to the classic debugger using menu path Debugger->Switch to Classic Debugger. Form the classic debugger you can download internal table data with column name(s).
    Regards,
    Joy.

  • Debugging EJB : how to reach breakpoint in EJB

    I am trying to debug an application. I am unable to reach the breakpoint in my EnitityBean. Where do I find my jar or any other thing that I add to the path so that my thread reaches breakpoint in EJB.

    Please find the answer in this HOWTO:
    http://technet.oracle.com:89/ubb/Forum2/HTML/006404.html
    HOWTO's are archived on the JDeveloper Documentation page:
    http://technet.oracle.com/docs/products/jdev/listing.htm (Click on Documentation Tab)
    Thanks,
    -Roel.

  • Blue Valentine firework technique (how to?)

    I'm booked to shoot a wedding (video) and this is my first legit project that i'll be getting paid for and having complete creative control.
    One key aspect that I plan to incorporate in my video of the wedding is the technique use at the end of blue valentine, I find it absolutely incredible:
    http://www.youtube.com/watch?v=dCnWrlEb5XI
    (pictures hidden in dark and only brought to light as fireworks erupt across the screen revealing only parts of each pic)
    I plan to get stock footage of both fireworks and a sparkler and replicate it to the best of my abilitites.
    My question is what's the best way to go about pulling this off? I have more of a grasp of motion than I do AE so that's why I'm leaning towards it. Would it simply be a matter of fading in the pictures behind the fireworks and masking the out of focus bouqets?
    It seems simple yet has an incredibly powerful effect when couple with the proper music.
    Thx for anyone's help/suggestions/direction

    Adam Scoffield wrote:
    …  On other pic I might use the firework footage as the mask itself. …
    basicly I fully agree.
    but …
    usually, a fireworks is itsi-bitsi-tiny dots, swarming as particles.
    => for masking quite unuseful. look:
    what they did, they recorded the fireworks completely out of focus (bokeh!), to have large, massive circles instead of tiny dots.
    I dare to say, this is no beginner's task to create a CGI-particle fireworks looking like that, nor to 'process' in any way a stock-footage to get this look (a Gaussian blurr looks totally different than an in-camera out-of-focus).
    your first suggestion, using 'rough, expanding circles' as masks seems to me the more promising method.-
    but I'm just a beginner, perhaps our pros have suggestions - no simple task!
    and a beautiful effect!

  • Debuging techniques

    Hi Sdners,
    I Am abap learner please  give me debuging tips.
    Advance wishes
    sreenu
    Moderator Message: Please search for available information and do not make duplicate post.
    Edited by: kishan P on Sep 5, 2010 9:04 PM

    please help me to develop my debug techniques

Maybe you are looking for

  • Connection on windows 8.1 pro

    How many other users can connect to a windows 8.1 computer at the same time before you get a connection error?

  • How do I Export Address Book data?

    Is there anyway to insert Address Book data into other (non-Apple) applications, e.g. Word? I want to send out some letters and I would like each letter to have the recipiants address at the top of the letter. Even if I could export the data to Excel

  • ADF Faces: How do I set values for input controls in an af:table

    Use case: user enters master/detail information into an input form using an af:table for the desired number of detail rows. I have an ADF Faces input form with master level input controls, and an af:table (bound to a backing bean CoreTable) for the d

  • Portal confused by window.open javascript command.

    To all, I am having difficulty trying to implement a javascript popup calendar. I am calliong a simple html page i have stored in avirtual direcytory on the web server. I have also moved it to the apache default html directory. When i issue the windo

  • Bluetooth a2dp not working in L412

    I want to know whether the bluetooth hardware in L412 support A2DP. I'm unable to send audio on a sony bluetooth headset. Whereas my android device can send audio. Kindly confirm. regards