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

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

  • Help! Can't paste into code view or property inspector

    I'm experiencing a weird and extremely annoying bug in Dreamweaver CS6 -- I can't paste text from outside apps into DW's code view or into the property inspector (such as URLs).
    Pasting doesn't work no matter the method: Ctrl + V, right-clicking or using the Edit menu. Pasting works normally in every other program. If I copy within Dreawmweaver, pasting works fine.
    Does anyone have a solution for this? I'm running Win 8 and DW 12.1 through Creative Cloud. Searching the forums, I see others have reported the same issue. Some have been able to fix it by deleting the configuration file; that didn't fix the issue for me. I'd like to try reinstalling DW, but the Adobe Application Manager doesn't seem to allow that.
    I began noticing this bug about two weeks ago. That might have been about the same time I updated to 12.1. Can anyone help?
    Thanks,
    Cory K.

    Adding to my last post, I used a clipboard format inspector called nclip (http://code.google.com/p/nclip/) to see if I could find a pattern between "what works" and "what doesn't".
    There are two cases where I'm seeing paste-into-Dreamweaver CS6 fail:
    Paste into Code View fails, but Paste into Design View works!
    Paste into either Code View or Design View fails
    I went through the list of programs that worked and didn't worked, using nclip to show what clipboard formats were being saved from each working and non-working source. It appears that DreamWeaver CS6 as of January 9, 2013 doesn't accept the most basic text clipboard formats:
    CF_UNICODETEXT
    CF_TEXT
    CF-OEMTEXT
    CF_LOCALE
    If these are the only clipboard formats used by an app (for example, Window's venerable Notepad.exe), Dreamweaver doesn't appear to handle them. Most programmer-style text editors output just these formats, because they are presumed to be understood any application that handles text. These fail for both pasting into codeview and design view.
    Interestingly, Chrome browser fails the code view test, but it does work in design view! It outputs the four clipboard types above, plus one more:
    Custom Format: HTML Format
    Hypothesis 1: Any application that puts HTML Format on the clipboard will paste into design view, but not necessarily code view.
    Next, Visual Studio 2010 and Sticky Notes, which doesn't include HTML Format as a clip type, works for both code view and design view. They both output this type in addition to the basics:
    Custom Format: Rich Text Format
    Two programs that output Rich Text Format without HTML Format are Sticky Notes and WordPad. These both work with Code View and Design View. From these limited tests on my system, it appears that for Dreamweaver to accept a text paste from an outside program into Code View, that program must output Rich Text Format to the clipboard. Otherwise, it fails. Dreamweaver will accept HTML Format, but only in Design View. Firefox is an exception in that it don't export Rich Text Format, but still works with Code View. It might use OLE, though (Chrome doesn't seem to use OLE, and it breaks in code view).
    Hypothesis 2: Any application that puts Rich Text Format on the clipboard will paste into design view AND code view.
    If Dreamweaver is really ignoring the basic text clipboard formats, and it's not just my system configuration, then this is a bug. Probably something that got overlooked in testing.
    To reproduce on Dreamweaver 12.1 build 5966:
    Try copy/pasting text from Notepad.exe into Dreamweaver Code View (DWCV). This fails for me.
    Try copy/pasting text from WordPad.exe into DWCV. This works!
    Try copy/pasting text from Internet Explorer 9 or Firefox into DWCV. This works!
    Try copy/pasting text from Chrome. This fails to paste into Code View, but does paste into Design View
    The Code View workaround:
    Use Firefox or Internet Explorer for your browser if you're copy/pasting source code.
    If you're working from another text editor, try copy/pasting into intermediate programs Sticky Notes or WordPad, then copy/paste from there into Dreamweaver.
    So that is my experience on Windows 7 64-bit. Anyone else experiencing the same thing?

  • 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

  • How can i open a slide in another file on clicking a button from another file

    Hello guys!
    This is my first post on captivate community. I've sucked into a problem. Is this possible somehow to open a slide in another file while clicking on a button that is in a different file.
    Any help would be appreciated.
    Thanks

    Jim's post might help in this.
    Jump to a Specific Slide in a Course Using Captivate 7 - CaptivateDev.com
    http://captivatedev.com/2011/05/01/how-to-jump-to-a-specific-slide-in-a-separate-course/
    Read through the comments as well. You will generally find useful info there.
    Sreekanth

  • How to write the last step into the temporary XML file?

    Hi all,
    I'm running a sequence & writing the results of each step to a report file.
    When reviewing the report On-The-Fly I see azll the steps (including the last one), but in the temporary report file (ends with _00001.xml) has all the steps except the last one.
    anyone has an idea how can I "force" TestStand to write all the buffer to the file?
    thanks,
    Ido

    IdoZe,
    I was able to replicate your behavior you were seeing and spoke with our R&D team on this. On-the-fly reporting is not guaranteed to write every step, this would cause way too much writing to disk and would cause performance problems because of this. It instead writes according to when the DLL is set to write based on timers and other pieces of dll code.
    With what you are trying to do, it seems you are approaching it incorrectly. First of all, you are accessing and editing a temporary report, which is not recommended. Second, there are many better ways to do this instead of just adding a step to your main or even clean-up of your sequence. You could A) Override the PostUUT or PostUUTLoop callbacks or B) create a top level sequence that makes a sequence call to your sequence you want the report for. In the properties you would spawn a new execution for that sequence after the sequence call, you could wait for the sequence to complete and then read the XML in another step.
    You should always use the final report for this though, because editing the temporary report is a bad idea.
    Another idea is to modify the report generation to write the report correctly the first time you read it. It all depends on exactly what you are trying to do, but I would strongly suggest this last option if possible as it does not involve editing the report after it is written, which defeats the report generation's purpose.
    Brandon Vasquez | Software Engineer | Integration Services | National Instruments

  • Can I run the code in another project?

    I use Jdeveloper v903.
    I have three projects.
    Can I run a project's code from other project within the same workspace?
    Stephen

    Stephen, before I [try to] answer your question I think that you need to adjust a bit more to the paradigm shift between a form based application and the true oop metaphor.
    Ok. Now, to accomplish what you want is simple. Suppose you have BC4j, Client1, and Client2 projects. Within Client2 you want to instantiate classes in Client1. Besides making Client2 dependant on Client1 in the settings, which by the way only simply ensures proper [re]build of projects, also make sure that your classes within each project are inside a package, then in the client2 code import the client1 package. Thats it.
    In case you did not package your existing code, be ready for some jDev glitches in renaming/moving classes into a new package. You can use the refactor feature, but you should manually make absolutely sure your old classes are not still sitting around in the old hierarchy. Due to the hassle involved, if your jclient projects are relatively small (and again only if you did not package em up in the first place), you are better off creating new client projects and creating your classes in packages from the onset.
    Hope this helps;
    -Nat

  • Where can I find creator codes for Apple files?

    I am trying to use smartfolders to find all documents I have created with iWork (Pages, Numbers, KeyNote)
    Alternatively, I would like to find families of .Pages or .Numbers files. (any content)
    I would have expected this to be trivial with spotlight/smartfolders but it isn't.
    Entering a simple "creator code" would do the job but no matter how hard I search on the Internet, I can't find the relevant, 4digits, code for a document created with iWork.
    Can somebody please advice?

    Here's a few http://revolution.byu.edu/helps/file-creatorcodes.php
     Cheers, Tom

  • How can I get into my locked Dreamweaver files?

    I bought a new iMac last week and transferred my CS4 files from my G5 (not Intel) to the new machine. First I used Apples migration assistant and found I couldn't open any of the CS 4 Adobe programs. So after Googling for answers I copied them all to an external hard drive and moved them onto the iMac that way. Now Illustrator and InDesign work fine, but I get this message when I try to open a file in Dreamweaver; "xxx.html is a locked file and can be viewed but not changed. What would you like to do with this file?" If I click 'View', I can open it but can't do anything with it. Also, I can open and manipulate my Photoshop files but can't save them. I have a bunch of web clients waiting for me to solve this problem. Any suggestions would be gratefully received. (And yes, I installed Rosetta on the iMac).

    It has nothing to do with your activation. How do I know that?
    Simple: Up until 2009 I worked with developer's copies of CS3 and CS4 under a volume license through a former employer. A pre-loaded serial number. NO activation. I installed it and used it for eight months on one system WITH NO INTERNET CONNECTION. There was no way it could have activated even if it was required to. I edited files from other systems day in and day out on that machine.
    I jump sites between a CS3 and CS4 machine regularly now. Different builds different serial numbers different activations. I even did it between CS4 and CS5 and my PC and MacBook.
    Trust me when I say this is a Mac OS permissions issue.
    You might want to look up the procedure for performing a CHOWN and and CHMOD permissions change in Single User Mode on these files. But it has nothing whatsoever to do with your activation of Dreamweaver.
    If you need further proof. Uninstall it and reinstall as a trial. No serial number, no activation. It still won't open the files because it has nothing to do with it, even in a version (30 day trial) that requires no activation.

  • How can I Scan into CS5.5photoshop via file import command

    I recently bought a new 27" iMac running OSX 10.8.2 (Mountain Lion). I brought over all my files, including applications from my backup disk. I had no trouble running Photoshop CS5.5 and printing any pictures I had imported from my cameras. The Twain plugin that I use is the same one that I was using in my previous iMac running OS 10.6.8.  I had a similar problem with it when I had updated from OSX 10.5 which was solved with updating the Twain plugin. There were some differences in that the scanner showed up in the import command, but could not be accessed. Here no scanners show up at all!
    By using the EPSON Scan application, I can access and scan, producing a variety of file formats, but it does not integrate with the Photoshop program. Also, my OCR program is also dead in the water. I can also use the scanner from within the Print & Scan prefernce pane, but this  only lets me get a jpeq result.
    I followed all the directions regarding updating the scanner S/W and Twain plugin with no luck. I cannot access the sanner from within photoshop.

    You may have to run Photoshop CS5 in 32 bit mode if the Twain and Epson drivers are 32 bit.
    Click on your Photoshop CS5 app icon to select it, context or right-click on it, select "Get info" or choose File > Get Info from the Finder menu.
    In the dialog choose "open in 32 bit mode"
    The 32 bit version should be able to use the Twain plug-in and scanner drivers.

  • Can't see bar codes on PDF files

    I Received tickets to print in a PDF file but bar code did not show on ticket when opened . is there a fix for this?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • Can I reference Flash code in .js file?

    Hello,
    I have a CS3 Flash in my Dreamweaver website. Is there a way to move my script to a .js file or something, then reference it in the code instead of it all showing in the code? If so, how would I do that?
    Thanks,
    MonaE

    What code are you speaking of? The JavaScript code to embed a Flash SWF on the HTML page you're editing in Dreamweaver?

  • Can not boot into Xen: Error 15 File not found

    Hi,
    When i boot Arch then there is no problem but selecting Xen will result in Error 15: file not found. I checked /boot and all the files are there. There is also no typo. Why is that ?
    This is my /boot/grub/menu.lst
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    # (0) Arch Linux
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    # (1) Xen dom0
    title Xen 3.4.1
    root (hd0,0)
    kernel /xen.gz dom0_mem=1024000
    module /vmlinuz-2.6.18.8-xen0 root=/dev/sda3 ro
    module /xen0.img
    lamnk:~% ls /boot
    System.map-2.6.18.8-xen0 config-2.6.18.8-xen0 kernel26-fallback.img vmlinuz-2.6.18.8-xenU xen-3.4.gz@ xen.gz@ xenU-fallback.img
    System.map-2.6.18.8-xenU config-2.6.18.8-xenU kernel26.img vmlinuz26 xen-3.gz@ xen0-fallback.img xenU.img
    System.map26 grub/ vmlinuz-2.6.18.8-xen0 xen-3.4.1.gz xen-syms-3.4.1 xen0.img

    Uhm, because all the files reside in /boot so it should have the same root, no ? The boot partion for Xen is also for Linux so i think it's pretty much bootable ...
    PS: and this is not a multiple disks setup. I'm running Arch on my laptop.
    Last edited by lamnk (2009-09-28 12:14:44)

  • Can I debug c++ code

    I have some bug in my C++ code. I useing MS Visual studio .net to compile it. How I can enable "Step into" that I can see what happening in my c++ object space when I call that native method from Java?

    The easiest way to debug this code USED TO BE to open the Dll project in Visual Studio, then go to the project options and make some some settings. The specific settings involved were the invoking program (Make that java.exe.), and the parameters to the program (Make those the parameters that will make jvm.exe execute your java program.).
    This is the way I did it using VC 6.0. It probably still works in the new version.

  • How do I create a hyperlink to another file?

    How can I create a hyperlink to another file on my Mac?

    Do you really mean "Hyperlink" as in a web page link to your file?
    Or do you want a Mac OS X Alias icon placed in a different folder or on your desktop to a file?  Hold Command-Option keys while dragging the file to a new folder, will create an Alias.
    Or perhaps a Unix Symbolic Link (similar to a Mac OS X Alias, only different).  This is done from a Terminal session using "ln -s /path/to/your/file /path/to/folder/where/symlink/to/be/placed"

Maybe you are looking for

  • Applications folder missing

    Hello all, Kind of freaking out here...I recently downloaded a trial version of Episode Pro to try out with FCP. I didn't work to my liking. I decided to uninstall it, because there was an uninstall option in the finder window with the trial applicat

  • Database Adapter insert operation with return value

    Hi All, I have a table with auto generate parimary key in DB2 database. I need to have an insert operation ont this table which should return current value of primary key after insert. For this , I have created an insert operation in DB Adapter. But

  • Flex Builder Projects

    Flex Builder does not have an "Open Project" choice on the menu. We'd like to check the flex project into our source code control and share the environment, however we cannot find a way to "open" the project on a machine other than the one it was cre

  • Rejected Sales order reuse.

    Dear Friends, I have rejected a Sales order by maintaining reason for Rejection at Document Level and the order is completely rejected. Now system still allows me to reuse the rejected sales order by clearing the "Reason for rejection at Item level".

  • Export library

    how can i export my library to excel or microsoft access, when i try and do it i get a xml file which when opened with excel is cells and cells of jiberish i really want to print both my album list and song list, the problem is i have imported all cd