Remote debugging in CVI 8.5.1

I rebuilt a debug build of the executable and copied the .exe and .cdb to

the remote target (a PC). I started the application to configure remote on debugging

the target. When asked, I started the .exe. I get the error "debugging".

file information of this file is obsolete. , You will be

Impossible to debug the dll/exe. You want to terminate.

Another performer 8.5.0 engineer is able to do remote debugging on the computer.

Found the problem. I'm compiling the program on a network drive, T:. I had an old version of the .exe and .cdb on a directory on my computer, C:

When I deleted the local copy on C:, then it started working. I don't know why he was looking on my C: being the directory of my project in w: drive

Tags: NI Software

Similar Questions

  • BUG (?) during remote debugging: Watch #0

    Hi all

    There seems to be a bug in the remote debugging.

    When I switch on the function of climax, it shows me "#0" in all rows of the table, but past tables are not empty.

    Here what it shows:

    (see the #0)

    but the probe window shows that there are values:

    @NI: Please try to reproduce and, if it's really a BUG, please correct.

    Thank you.

    Best regards

    Hello, Ben EWiebe,.

    I was able to reproduce this behavior on several systems (using LV 2011).

    It seems to be a bug, so I created the CAR: #342275.

    With your help, we are able to improve our products.

    Best regards!

    Moritz M.

  • Why remote debugging of a stand-alone application takes too long - if image capture?

    Hello

    I create an executable file for LabVIEW build specifications is that the images to grab and display in front panel. I use a vision machine for this camera.

    I'm a waiter VI enable and debugging while that build the remote execuitable. Now the problem is when I connect the remote debugging technique, clint and developer pc .exe file becomes very slow. The images are updated after a very long time if the camera is triggered after 100 ms.

    What is the reason behind this?

    What is the solution?

    I think it's because you decide to display the video image on the front.

    Having to send the contents of the image on the network for debugging can take considerable CPU/network resources to package the image on the front panel, compress it (if she does) and sent over the network.

    You debug remotely or on the same network? If the network connection is poor will also have an impact.

    You can try to make the size of the image on the smaller front to see if it improves it? Maybe also try your image in the executable file scale reduction before posting (so it displays less data on the front panel).

  • do remote debugging - switch works / of via ini?

    Hi, I have read and understood how to debug remotely a VI - it works pretty well.
    My question is - can I set flags "Wait for debugger on launch" and "Enable debugging" in the specification to build for the stand-alone application in real time for all my applications and THEN turn to whom we or off via something like the .ini file?

    This would be great as then we could just put the flags on all our versions of debugging and then be able to allow debugging when neeeded.

    Jay

    You can set flags DebugServerEnabled and DebugServerWaitOnLaunch in the INI file of the application to determine whether or not the remote debugging is enabled. However, your application will be more important and may run more slowly when built with debugging enabled, even if the debugging server is disabled in the INI file, because a large number of additional information (facades and diagrams) is included in the compilation to allow debugging, and a few compiler optimizations can be disabled.

  • Remote debugging

    I am at the wheel nuts trying to get remote debugging to work.

    I thought it might be something with managed on the domain network switches, so I set up a private on a small switch, network

    Firewall is turned off on both machines

    Since my development machine, I can navigate to [deploy machine: 3580 / dumpinfo?] and on the list of services is:

    MyProgram.exe

    HTTP/1.0 200 OK
    Server: Service Locator
    Pragma: non-cache
    Connection: close
    Content-Length: 12
    Content-Type: text/html
    Port = 49306

    BUT I tryOperate-> Application Debug, I get the message connection error "Failed to lookup debuggable applications or shared libraries.

    From experience, this message is firewall issues, but firewalls is definitely extinct.

    Any thoughts?

    15.0f2 32-bit LabVIEW

    Windows 7 x 64 on both machines

    Ed,

    can you identify the target system via IP or name?

    I guess it could be a DNS caching and local cache issue...

    Norbert

  • Problem with XControl and remote debugging

    Can you make a connection of remote debugging to an EXE or DLL that uses an XControl?  So far, my experiences would indicate the answer is no, but I find that surprising and have seen no earlier mention of it in bug reports or in the forums.  When trying to connect to the DLL with XControl, I get the error 'fatal error occurred during the operation, close the connection' dialog box.  I'm just connection of the local machine, not on the network.

    My real application is a rather elaborate DLL that is called from a Visual Studio 2008 C++ application and launches the LV panels dynamically.  I realized that my DLLs that include panels with XControls do not allow debugging remotely for you connect while dll without XControls works very well.  It is the only difference between the two projects.

    I've simplified it to a simple test program that merely updates an indicator in a timed loop.  I created two versions of the VI, which updates a digital single and the other who updates an XControl (which itself is a simple digital-only model change XControl of dropping a digital indicator on the FP of façade and update a local variable to it in the event of modification of data).  Then I built these two screws in the exe files and tried to make a debugging connection to each after the launch of the EXE.  Of course, the application with the XControl Gets the above mentioned error dialog box.  Any ideas on why this is happening?

    I have attached the sample project that generates the two EXEs.  One is called debugging with XControl Test and another test of debugging without XControl.  My worm. LV is 9.0f2.  Here's the very simple diagram showing the problem:

    I saw that this problem has been fixed in LV 2010 SP1:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/12560

    Look for the CAR ID 238566 to the fixed bug list.

  • What is the best tool for remote debugging

    What is the best tool for remote debugging

    I don't know about the 'best', but I find using the Google Chrome WebInspector works very well for this.

  • gfsh start the server to perform a remote debugging

    Hello

    I'm trying to start a server I can do do remote debugging of function, here is my command

    gfsh start server - name = myserver - dir = mydir - locators = localhost [41111] - server-port = 41122--proprietes-file=gemfire.properties--cache-xml-file=servercache.xml

    J-= - agentlib:jdwp = transport = dt_socket, address = localhost:8000, server = y, suspend = y

    When I run this script I get

    ERROR: Server JDWP-no-dt_socket transport must have an address of connection specified through the "address =" option

    ERROR: Invalid Option of JDWP:-agentlib: jdwp = transport = dt_socket

    What am I I miss, is it possible to do

    I used to do

    Cacheserver start locators = localhost [41111] - server-port = 41122 - J-DgemfirePropertyFile =... GemFire.Properties - dir = server1

    -J - Xdebug - J - runjdwp:transport = dt_socket, address = 8000, server = y, suspend = n

    Used to work properly,

    You should be able to do this:

    --J =-Xdebug - J =------""-Xrunjdwp:transport = dt_socket, server = y, suspend = n, address = 5005\ ""

    Note the double quotes escaped.

    -Jens

  • Remote debugging with Visual Studio

    Our web team use Lab Manager but encountered problems with remote debugging of applications.

    They run Visual Studio 2008 machine company in the field 'corporate.internal '. Then, they want to debug remotely a race of app in the lab environment manager (can be an IIS application, sharepoint etc). This lab environment is an area (sand.internal) with a number of virtual machines. Now that there are several areas sand.internal of Lab Manager, and we do not have trust relationships between the two, they are unable to remote debug their applications.

    Anyone know if it is possible to debug remotely an application within the LabManager using VS 2008 (from untrusted domains)? I've seen plugins for VMWare Workstation and subjects I seem to only appear at this address, although earlier am came across the following blog that can lend to manually set up:

    http://blogs.VMware.com/workstation/2008/04/using-the-vmwar.html

    Copy the folder that contains msvsmon.exe on your local computer to the remote computer

    • It will be located in a folder that is similar to:

      • C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\

        • It could also be in the folder "Program Files (x 86)".

        • It could also be in the folder "Microsoft Visual Studio 10.0"

    Run msvsmon.exe on the remote computer

    Set access options to disable authentication

    • No authentication

    • Allow any user to debug

    You select Visual Studio local "attach to process".

    Change shipping and enter the machine virtual IP or external IP address that applies in your case

    After it connects, select the correct process and you leave.

  • How to add command arguments do remote debugging

    It's actually a question about remote debugging with VS2005 and WKS6.5, but I have not found a community that fits. So I put my question here.

    How can I add arguments to the command?

    If I just called '\my.exe - a myOptionA b myOptionB', it fails. He "can't find the application. The entire line is of course taken as the name of the executable file. For local debugging, there is an additional field for the Arguments, but nothing can be entered for the remote debugging with VMware.

    It of just not possible, or is there a way to do it?

    Thank you

    You can try the following? Project > properties > debugging > remote Windows Debugger > Command Arguments, add your arguments.

    then make VMware > start debugging. Check if that helps.

    Thank you.

  • Remote debugging with Apex and SQL Developer

    Hello

    I try to turn on remote debugging with Apex and SQL Developer.

    I can debug the PL/SQL procedure when it is called from SQL * PLUS, but when I call the procedure from Apex 'Process', the debugger does not stop at breakpoints.

    I checked that the procedure is called Apex process as I can see 'things' happening in the procedure but the debugger does not stop at breakpoints. The program being debugged (session Apex) manages to fix the SQL Developer debug listener.

    Apex (OnSubmit) process
    ---------------------------

    BEGIN

    DBMS_DEBUG_JDWP. CONNECT_TCP ('10.176.20.225', 4000);
    DONOTHING;
    DBMS_DEBUG_JDWP. DISCONNECT;
    END;


    Procedure
    -------------------------------------
    CREATE OR REPLACE
    PROCEDURE DONOTHING ACE
    testvar VARCHAR2 (100);
    BEGIN
    update cross-set test_data = 'I came here 11111'; -It is run
    commit;
    testvar: = "aaa"; -bREAK POINT IS HERE
    DONOTHING END;
    /

    Thanks in advance,
    Paresh

    Published by: pyadav1 on November 19, 2008 15:19

    Hello

    Sorry... seems I was too hasty in reading your question...

    You also gave * DEBUG ON [Parsingschema]. [procediurename] * APEX_PUBLIC_USER (or ANONYMOUS or HTMLDB_PUBLIC_USER). Otherwise, the behavior is exactly the same as you have described...

    The privilege of the DEBUGGING SESSION to CONNECT need to given to the schema analysis but the APEX_PUBLIC_USER schema needs debug privilege on the function or procedure...

    Does that help?

    Carsten-

  • How to turn on remote debugging in 10.3 WLs Manager of server applications

    I wanted to activate the option of remote debugging in app server Weblogic nursery
    Tried to adjust these options in startWeblogic.sh

    DEBUG_OPTS = ""-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, server = y, suspend = n, address = 4000 - Djava.compiler = NONE ""

    by defining these java options

    ${DEBUG_OPTS} {JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS}-Dweblogic.Name=${SERVER_NAME}-Dweblogic.Name=${SERVER_NAME}-Dweblogic.management.username=${WLS_USER}-Dweblogic.management.password=${WLS_PW}-Dweblogic.management.server=${ADMIN_URL}-Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE}-Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy {PROXY_SETTINGS} ${SERVER_CLASS} »

    What should be the value of the value of ${ADMIN_URL}, I need to paas
    I extract the value is null, I'm up follwing error at startup: cannot determine the listening address for the administrator of the server. The Admin server ldap URI: / / from either the MBean Server, the ServerRuntime MBean, or the URL specified by the command-line weblogic.management.server property has invalid syntax. >

    When I try to switch t3: / / localhost:7001 ADMIN_URL and value such as username and password Weblogic find this error
    as an Exception in thread "Main Thread" java.lang.NoClassDefFoundError: t3: / / localhost:7001 (or weblogic)

    Hello, richy.

    I think you're closer. In order to get the name of user and password on your managed servers, you need to set the WLS_USER and WLS_PW values inside bin/startManagedWeblogic.sh. The variables are there and the value ' ' by default. Simply change them.

    You can create your own startup by server scripts in your home realm. Especially considering the ports of debugging is in conflict. ex.

    startDisco.sh
    #! / bin/sh
    Export JAVA_OPTIONS = ""-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, server = y, suspend = n, address = 4001 - Ddisco.debug = true - Djava.compiler = NONE ""
    WLS_DISCO bin/startManagedWebLogic.sh T3: / / localhost:7001

    startTango.sh
    #! / bin/sh
    Export JAVA_OPTIONS = ""-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, server = y, suspend = n, address = 4002 - Ddisco.debug = true - Djava.compiler = NONE ""
    WLS_TANGO bin/startManagedWebLogic.sh T3: / / localhost:7001

    In short, to restore your old bin/startManagedWeblogic.sh, set the values WLS_USER and WLS_PW y for the correct values and create a new script for each managed server startup.

  • problem running the session of remote debugging for specific oracle sql developer

    I have a problem running the session of remote debugging of sql server specific oracle developer.
    I get the following error:
    Connection to the database mmgrep - INNA.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('inna.followap.com', '4029')
    ORA-30683: failure connecting to debugger
    ORA-12535: TNS:operation expired
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1
    Process is complete.


    I understand that Oracle is unable to connect to my PC.
    I have 2 different oracle servers to work with the sql developer. With one I can run debugger, with another - the errow above.
    I need to change to be able to start debugging with second oracle server.

    In tools | Preferences | ebugger, you can specify a range of ports for the debugger to use so you can limit it to those that are open on the firewall.

    And just to check, is the ip address that is displayed in the CONNECT_TCP call the right one for your PC?

  • Remote Debug problem with the Versions of the Runtime CVI.

    Development platform - CVI Version 8.5.1

    Target a 9.4 DAQmx is installed with the runtime of CVI worm: 9.1.0.428

    Developmenrt platform has been recently upgraded to DAQmx 9.4

    Re-installed CVI RTE (ver. 9.1.0.428) on the development platform - even if it was previously installed.

    I get on this error message on the system target "runtime of LabWindows/CVI on the target is newer than your lab Windows/CVI environment.  You need to upgrade the Lab/Windows environment if you want to debug your application. »

    The two systems (development platform & target) have the same versions of CVI RTE and DAQmx.  I did a re - compile full .exe application I am trying to run on the target.  I have re-installed CVI RTE on the development platform.

    What's not here?

    LabWindows/CVI environment is development platform.

    That is: you must either downgrade the runtime on your target to match the existing 8.5.1 machine debugging or level CVI installation on the development computer to match the 9.1 on the target (if I am not mistaken 9.1 mean CVI 2009 SP1). Both machines must have the same version or debugging of the machine must be newer than the target.

  • Perform a remote debugging and Oracle Forms (6i)

    Hello
    We do not have E-Business Suite 11.5.10 and I was wandering if it is possible to use SQL Developer to debug remotely the PL/SQL which called Forms.

    We have been able to call the dbms_debug_jdwp of one of the packages and it did bring back us to the SQL Developer and has stopped at the breakpoint, but then after more walk and run PL/SQL to the end the session of forms is crushed and we were not able to return to the form with the results and continue.
    Everyone went through a similar exercise with success?

    See you soon
    Arek

    He expected no importance, but unfair life sometimes more with existing systems. :(
    I wanted to recommend to your code (in this case, your remote procedure call), not not the connection, a TIME NEW FORM instance.
    How do you say 'they appear at the end not initially"?
    Always log into the remote procedure?

    K.

Maybe you are looking for