Can't step into subroutines and functions

While debuging in Sun Studio 10 I have problems steping into functions and subroutines. On the step command it just moves down to the next line instead of entering the function or subroutine.
After som testing I found that this only seems to happen when to source files are in different directories. If a place a subrotines source in the same directory as the main program source I am able to step into it.
How do I solve this problem without having to place all source files in the same directory?

You should make sure that the code containing the
subroutines you're trying to step into was compiled with -g.
You should also not move the source code or the object files around
after you compile them. (There are ways to accomodate that, but
let's leave that for later).
A good diagnostic that might help you is the "module" command.
In the dbx command line issue:
(dbx) module file_containing_mysubroutine.f
or
(dbx) module file_containing_mysubroutine.o

Similar Messages

  • Can't step into CVI step that calls LabVIEW DLL?

    Windows 2000 SP1
    TestStand 2.01f
    LabWindows CVI 6.0
    LabVIEW 6.1 Runtime
    We have a framework based on TestStand and CVI. A customer has supplied us
    with a DLL written in LabVIEW 6.1 and packaged with the Application Builder
    that we need to call from a CVI test library DLL. They say they can't
    supply us with a non-LabVIEW implementation. We installed the LabVIEW 6.1
    run-time. We added code to the CVI test library to dynamically load and
    unload the LabVIEW DLL using LoadLibrary and FreeLibrary. LoadLibrary is
    called in a function in the MainSequence Startup step group, FreeLibrary is
    called in a function in the MainSequence Cleanup step group.
    Things run as expected when the CVI DLL is built as Release or Debug and the
    CVI
    adapter is configured to run in-process.
    However, if we try to debug CVI DLL by building it as Debug and configuring
    the CVI adapter to run in an external instance of CVI, things hang the first
    time we try to step into, or run, a CVI test library step that calls one of
    the functions in the LabVIEW DLL. On the Applications tab in Task Manager,
    the item named LabVIEW is marked as 'Not Responding'. The only way to
    recover is to kill the LabVIEW process, which takes down CVI and TestStand
    with it. If none of the LabVIEW DLL functions are called, no problems are
    seen (no hang).
    I assume the problem has something to do with the library getting mapped to
    the wrong process space (TestStand v. the external CVI instance). Is there
    any way to solve this problem? Any ideas or suggestions would be
    appreciated.
    Joe

    > Out of curiousity, what happens if you attempt to debug your DLL from
    > CVI? For example, configure TestStand to run its steps 'inProcess'...
    > but then close the TestStand application and in CVI, configure it so
    > that the Specified External Process dialog points to TestStand's
    > SeqEdit.exe (CVI launches TestStand when debugging the project). Once
    > TestStand is running, run your test and set your break points as
    > usual, you should be able to step into the CVI code if nothing else.
    > If not, I would be interested in hearing what problems you encounter.
    When 'debugging' SeqEdit from CVI, we experienced no lock up.
    Thanks for this suggestion. Debugging from CVI is a workaround for now,
    though not highly desirable as it is reverse from normal debug proc
    edure
    (user can't step into CVI from TestStand). Still would like to know if
    'normal' debugging of this problem is possible.
    > The nice thing about debugging directly from Labwindows/CVI while
    > TestStand runs 'inprocess' is that you can avoid some library linking
    > errors, which may be the source of the troubles you are seeing.
    The problem appears to be general to LabVIEW DLLs called from an external
    instance of CVI under TestStand. We were able to reproduce the problem with
    a simple LabVIEW VI compiled to a DLL, then called from a simple CVI DLL
    under TestStand. We will package up some sample code and submit it to NI
    tonight or tomorrow.
    Thanks for you help.
    Joe

  • What is the difference between subroutine and function module?

    What is the difference between subroutine and function module?

    Hi,
    they can both return values.
    FMs are mainly used when a routine is to be performed by many programs.
    Subroutines (forms) are generally only executed within one program.
    You can perform routines from other programs, but it's not often done.
    both forms and FMs are reusable modularization units.
    To distinguish we generally say that forms are used for internal modularization and
    FMs are used for external modularization.
    To decide on which to implement, consider whether you need the content to be used just for a limited program
    or wheteher it can be called from many independent programs.
    For the first purpose it is better to implement a form whereas for the second we implement an FM.
    However, ABAP does not isolate the usage context.
    That is; you can call a form from another program within whose code the form is not actually implemented.
    However, this requires attention since the form may utilize global variables.
    The same issue holds for FMs.
    FMs are encapsulated in function groups and function groups may have global variables that can be globally
    used by all FMs inside it.
    Thanks,
    Reward If Helpful.

  • To use SubRoutines and function modules and include

    Hellow Friends ,
    Can any body suggest me at waht situations we have to use SubRoutines and function modules and include in an abap report and also i need the standards in an abap program.

    Hi Rajesh,
    You use create subroutines within your programs for those block of codes which are used often within the scope of the development. Function modules are like global subroutines , hence any number programs which might want to use the functionality within the function module can do so.
    Creating includes is a good programming prctise, e.g. one for data declerations , one for subroutines, so that it makes the code more reader friendly and also helps in modularizing the program. Also once you put a subroutine in an include, you can use the same subroutine in other programs by referring to the include with the INCLUDE statement in your other programs.
    Hence basically they are used for :
    1. Reusability
    2. Modularization of code (make it more readable)
    Hope this is of some help.
    Regards,
    Aditya

  • For some reason i can't sign into imessage and facetime. PLEASE HELP???

    For some reason i can't sign into imessage and facetime. PLEASE HELP???

    Hey tcap8687,
    After reviewing your post, I have located an article that can help with iMessage and FaceTime. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    If you have difficulty activating FaceTime or iMessage - Apple Support
    If you see "Could not sign in, please check your network connection and try again" when signing in to your Apple ID
    To resolve this issue, follow these steps.
    Update to the latest version of iOS.
    Verify that you have a data connection by going to www.apple.com in Safari. You can complete Apple ID activation using Wi-Fi or a cellular data connection. If you need help connecting to Wi-Fi, follow these steps.
    If you're using Wi-Fi, make sure that your local Wi-Fi network is using the recommended Wi-Fi settings.
    Sign in to your account and ensure that the primary email address and alternate e-mail addresses have been verified. If verification is pending, follow the instructions in the email Apple sent to that email address to complete verification. Or remove the e-mail addresses from the account.
    If your Apple ID isn't an email address, you can change it. The Apple ID that you're using to activate FaceTime or iMessage must be an email address. Find more information on how to change your Apple ID.
    Tap Settings > General > Date & Time. Make sure that your iPhone is set to the correct time zone. If Set Automatically is on but the wrong time zone appears, turn Set Automatically off and choose the correct time zone, date, and time.
    Enable iMessage and FaceTime while connected to a different Wi-Fi network (in a different location) if a cellular data connection is not available.
    You can see that you've activated FaceTime and iMessage with your Apple ID by following these steps.
    Tap Settings > FaceTime > You can be reached by FaceTime at:
    Tap Settings > Messages > Send & Receive > You can be reached by iMessage at:
    Thank you for contributing to Apple Support Communities.
    Take care,
    BobbyD

  • How many photos can you load into Organizer and Editor

    How many photos can you load into Organizer and Editor at one time.  I receive the error message, "Unable to Import Files", which says "You exceeded number of files that can be selecteed and imported at once...."  What is the number?  Secondly is there a way around this for either the Organizer or Editor to work on thousands of photos at the same time?
    Thanks

    I have never heard of this particular limit before.
    Please understand, this appears to be the limit you can import into the Organizer at one time -- you can have as many photos as you want in the Organizer; but apparently you have to import in batches rather than all at once.
    I don't think it applies to the editor; and I can't imagine wanting to have more then a few files in the editor at any one time ... even if you could open 2000 photos in the editor at once, what sense would that make?

  • Can I import into Illustrator and modify a drawing in Appleworks?

    Can I import into Illustrator and modify a drawing in Appleworks?

    Depending on the detail/complexity/accuracy of the graphics,  you will not likely find back-and-forth wokflows between PostScript-compatible drawing programs (Illustrator, FreeHand, Canvas, Draw, Xara) and OS-meta format (QuickDraw, Quartz, WMF, EMF) based programs ("Works" or "Office" applications) very satisfying.
    You encounter instance-specific caveats stemming from two basic issues:
    PostScript compatible drawing programs use cubic Bezier curves; two curve handles per path segment. "Works" or "Office" type drawing modules typically use simpler quadratic Bezier curves; one handle per path segment. So going back and forth between involves geometric translations and re-translations which wreck the practicality of editng the paths. PostScript drawing programs use cubic curves for good reason: more shape control with fewer anchors.
    The OS-specific meta formats are really not designed for the device-independent resolution fidelity of commercial print. Resolution in vector drawing? Yes. Vector paths are essentially mathematical formulae for *plotting* curves onto a raster grid. (Everything is eventually rasterized; the practical difference between raster and vector graphics is a matter of when.)
    So it's a matter of accuracy; the "fineness" of the theoretical grids the curve-handling format/application is designed to plot upon . Meta formats are more about drawing an acceptable shape onscreen, and you can kind of think of what gets sent to a dumb printing device (one without a PostScript "brain") as a glorified enlarged screenshot. The path objects you draw in a PostScript compatible program that have smooth curves that scale well both upward and downward often translate to meta formats as paths with ugly flats or extra kinks that become apparent when scaled. These caveats are unpredictable and tedious to correct. The bother ends up outweighing the advantages you are seeking.
    In a nutshell, that's why Illustrator's effective "recommendation" for exporting to Office applicaitons (Save For Office...) is the lowest-common-denominator approach of defaulting to a common raster format (PNG), even though Windows does have a vector-based format (EMF) which Illustrator can export to.
    If what you're trying to do is just a one-way trip from some legacy AppleWorks drawings to Illustrator, you'll need an intermediary translation from .awk to something Illustrator can import. You may be able to find an open-source software for doing that.
    JET

  • When my iphone 6 plus ships, can I go into verizon and trade it in for the regular iphone 6?

    When my iphone 6 plus ships, can I go into verizon and trade it in for the regular iphone 6?

    Yes if they have it. You have a 14 day worry free period to do so. You can also call in for exchange but they'll charge you for it until it arrives back at their warehouse and charge falls off.

  • My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes a lot!

    My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes! What should I do!?

    Did you try the basics from the manual?
    Restart, reset, restore

  • How can I use the procedures and functions in my library

    hello, all
    I have a pl/sql library MYLIB.pld, MYLIB.pll and MYLIB.plx.
    How can I invoke procedures and functions there in JDeveloper?
    Thanks.
    Damon

    I am indeed using ADF BC to re-develop the oracle application.
    Here is my situation:
    We have an oracle form application.
    Our objective is to try to re-use the existing sources in the form application as much as possible:
    1. tons of procedures and functions in a pl/sql library(a file with extension name portfolioLib.pll or portfolioLib.plx);
    2. tons of form-level triggers, data-block triggers and item-triggers;
    3. tons of database stored procedures and triggers;
    After doing a research on JDeveloper, we decide to use ADF Swing+ADF BC to re-develop the application.
    My opinion for the above three kinds of sources in our form application is:
    for 1: we try to move most of procedures and functions into database(except Form build-in);
    for 2: we try to wrap those triggers in a SQLJ class;
    for 3: we try to call database procedures and functions with PreparedStatment or CallableStatement;
    I just do a test on a post-query trigger on a data-block:
    I created a sqlj file, named testSQLJ.sqlj in the test.view package;
    I tried to call it in createInstanceFromResultSet of testDeptVOImpl.java which is test.model package,
    I was told that testSQLJ cannot be found there. why?
    How can I call some classes from test.view package in some classes of test.model?
    I read some documents about how to deal with post-query trigger in JDeveloper: create a view with SQL statement, but it seems that it does not support pl/sql statement there.
    Can you give me some opinion about the above stuff?
    I really appreciate your help.
    Damon

  • Can't step into code in another file

    Hi,
    When debugging my application in CVI 2013, if I set a breakpoint before a call to a function in another C file, the Step Into command just steps over the function call, even though the source for both is my own and both files are included in the project. If I set a breakpoint in the function in the second file, the application doesn't stop at all, preventing me from seeing what is happening.
    I have been able to do this in the past and now it is no longer functioning, what could I have possibly changed?
    Thanks
    Francois Campbell

    I also very recently encountered such a situation.
    I don't know why I couldn't remember it before.
    CVI was not respecting my breakpoints at all.
    It did not even do "break at first step".
    Then it turned out that, it was becasue the files were on a network drive, not stored locally in my hard disk.
    This also surprised me, because I had all the access rights on that network folder.
    The only solution was to copy the project to a local folder, then it started to break appropriately.
    I do not think this is expected behavior.
    Maybe I should create e new thread for this issue of mine.
    All the best,
    S. Eren BALCI
    www.aselsan.com.tr

  • Can't log into PowerShell and EAC on Exchange 2013 Server

    I'm not sure why but I my Exchange PowerShell can't log into my Exchange server and I can't access the EAC
    via localhost or the URL. 
    I did notice that I enabled HTTP Proxy in IIS and that I used Application Route Requesting with it but I went ahead
    and reversed all those changes. I also noticed that the physical path for each sub-site in Default Web Site goes to the HTTP Proxy version of that folder instead of the ClientAccess one. I changed each folder to the clientaccess one but that didn't help. I
    did some research on this and I saw that I had to enable the kerbauth in the modules area and I did that to. I restarted IIS and WebRM and that still didn't help. 
    The Exchange Management Shell error: 
    New-PSSession : [exchangeserver.domain.net] Connecting to remote server exchangeserver.domain.net failed with the
    following 
    error message : The client cannot connect to the destination specified in the request. Verify that the service
    on the 
    destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service 
    running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following 
    command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more
    information, see 
    the about_Remote_Troubleshooting Help topic. 
    At line:1 char:1 
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ... 
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin 
    gTransportException 
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed 
    On the web when I try to access EAC on our URL and not localhost, I get this error: 
    400 
    Bad Request :( 
    The request sent by your browser was not valid 
    On localhost, I just get a page cannot be found.

    Hello
    tip:
    Check Get-owavirtualdirectory | fl and Get-ECPVirtualDirectory | fl and make sure that you using “Form based Authentication” and “Basic Authentication”
    and check Control Panel\All Control Panel Items\Credential Manager for saved password.
    and http://goo.gl/IC5P4S
    sorry my english

  • XISUPER can't log into IB and ID but log into SLD ok

    XI 3.0 SR1 is up and running, I can log into RWB and SLD with user XISUPER and password, however when I attempt to log in with XISUPER and password after the webstart kickoff it says "Authorization error username or password incorrect"...however i have proven that it is correct because I can log into SLD and RWB with said user...
    Has anyone seen this before?
    Thanks
    John Ryan

    Hi John,
    pls check the XIsuper has same pswd in SU01(abap stack)
    and exchangeProfile(java stack) for IR and ID services. It you have changed the pswd at any said places you will face this kind of problem. First set the pswd in su01 and than in exchangeProfile.
    have a great time
    Satish

  • I can't sign into itunes and complete a purchase

    I can't sign into itunes without constantly having to change my password..the system will not let me complete a song purchase without the incorrect password message even though I've changed it 3 times!! help

    What is the full text of the message that you are getting ?
    Messages about countries usually refer to the country that you have on your iTunes account. You have your correct billing address on your account, and you are in that country ? If you can't log into your account directly on your phone to view/correct your address details (e.g. via Settings > iTunes & App Store), then can you do it via the Store > View Account menu option on your computer's iTunes or via http://appleid.apple.com ?

  • A iPhone 4S (currently in possession of it) was dropped into the ocean and we can get it into DFU and recovery mode, but we can't get it to go to the lock screen or home screen the phone just gets stuck on the apple symbol, how can I fix this?

    Hey, apparently this iPhone 4S was dropped into the ocean and the light for the camera and a light where the 3G/4G bar is are both glowing. The iPhone 4S, I assume, was on iOS 5.1.1 I need help getting off info from it WITHOUT RESTORING IT. I'm not sure if Apple has any third party apps that they are allowed to suggest to us or if I'm on my own on this one, but if you guys can help I would greatly apperciate it.
    Thanks!

    Those are definitely features of liquid damage. First step after completely drying the iPhone would be battery replacement. The camera circuitry and proximity sensor circuitry are surging because you are seeing these lights.
    New battery may get this booted back up so you can recover data, or even get the iPhone working again.

Maybe you are looking for

  • High Speed Pattern Generation (32HS)

    Hello, I need to generate a string of logic 1's and 0's based on the value of various knobs and switches on the front panel. Getting this streem out at 1 Mhz seems to be a problem. I get errors when running my 32HS at 1 mHz saying that I have limited

  • Doubt with Appraisal Document

    Dear Experts. I am implementing Appraisal Document for ESS, but I need know if Appraisal Document that appear in the Portal ESS/MSS are the right but in the Backend. This for check if the information showed in the Portal ESS/MSS is the right.? Thanks

  • Won't start after update to iPhoto

    I was just doing What I thought was a standard software upgrade of iPhoto when, during the restart it said something unexpected had happened or something like that and just froze. Now when I try to restart I get the white screen with the apple , then

  • Suddenly Slow Download Rates

    I recently upgraded my MacBook Pro to Leopard. Since then, the download rates when browsing the web have been incredibly slow. I don't know if that is a coincidence or not. For one thing, I notice in Leopard for the Airport, there is no longer "Use I

  • HT1692 how do i restore my contacts from a previous backup?

    My contacts were inadvertently removed.  How do I restore contacts from a previous itunes backup?