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.
Tags: NI Software
Similar Questions
-
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 = 49306BUT 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
-
Apple remote no longer works on my Mac.
Works on apple remote and then all of a sudden he stops working. If I restart the computer, it comes back but then stops on its own. With the help of El Capitan and iTunes is up to date.
Thank you
The basic test, which I think that you would have already done, would be to check & replace the battery.
• How to replace the Apple Remote - Support Apple battery
There may be some settings regarding the remote (I have no experience with assistance) in OS X.
old article:
• Twinning of the Apple Remote with your computer - Apple Support
A search can bring up to similar or somewhat the same kind of topic, if your situation
can be unique and have a cause other than others you can find online via a search.
While the battery would be a first thing to check, the remote control itself may be faulty. Or you
maybe see if a reset of the MSC could help somewhere on the computer, it works with.
• Reset the management system (SCM) controller on your Mac - Apple Support
An another reset which may or may not have something to do with the receiver in the Mac, is the following:
• How to reset the NVRAM on your Mac - Apple Support
If your computer is still covered by an AppleCare agreement, you have the unit
tested & inspected to see if there is nothing wrong; and have it repaired. An Apple Store with
Genius bar should be able to (if you contact them before for suitable appointment time)
check and test the computer and the remote to see what is the problem. Genius:
https://www.Apple.com/retail/Geniusbar/
Other similar online actions appear here:
https://DuckDuckGo.com/?q=apple + remote + won % 27T + work + with + mac& t = ffsb & AI = apps
https://DuckDuckGo.com/?q=apple + remote + pair + with + mac& t = ffsb
While the least expensive, if defective, it's the battery; then the remote control. To troubleshoot all try.
Good luck & happy computing!
-
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.
-
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.
-
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
-
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
-
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:7001startTango.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:7001In 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?
-
Qosmio F30 - remote does not work after recovery
I replaced the HARD drive in my qosmio F30 and restore windows XP MCE from the DVD of restoration, but the remote doesn't work anymore under windows. However, it always works for the qosmio player. Help, please?
Hey Kevin,
You can download all drivers here if you have a European model:
http://EU.computers.Toshiba-Europe.com > support & downloads > download driversYour model is a bit more if you need to find in * Archives *:
* Archive * > Qosmio > Qosmio F Series > Qosmio F30Check this box!
-
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).
-
the pc switches work and I get a blue screen when the driver is installed
INSTALLATION DRIVER CAUSES BLUE SCREEN AND SWITCHING TO AND SUITE
I have re-installed windows xp pro several times and everythong is going fine until I install the drivers from the disk. pc switches work and I get a blue screen with a RECOVERED FROM A GRAVE... message. I also have a xp(not professional) of windows disk, it works with the drivers, but the pc doesn't seem to work as well. I want to run xp pro version, that's why I bought it. Help, please.
It makes no difference, what version of Windows XP, you install, it will make no difference to his execution, or use. (with the exception of you want to join a domain)
If your PC boot after installing winxp pro, visit your PC manufacturers site, or the site of the motherboard and to get the latest drivers for Windows XP a go from there
-
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.
Maybe you are looking for
-
Hello I would like to install a new version of Vista, but the problem is I don't have the software, I have only the serial number at the back of my laptop.I don't want to use the recovery discs, as they have many other things in addition to vista. Ca
-
How to change the home page in FireFox?
I installed firefox as my browser and I can not get rid of bear share as my home page please help I install can and not of the United Nations as a program it does not appear in the list as a thank you PC program. * original title - hoo I get rid of b
-
Original title: program problem caused to stop working correctly. Windows will close the program and notify you if a solution is available. On a number of attempts to install programs on my laptop with Vista home premium OS, I get the message, "cause
-
Cannot scan documents on H825cdw loader
I can scan the bed scanner on my new H825cdw but not the document feeder. If I place a few pages in the feeder, then click on "Analyze" the machine runs just a scan on the empty scanner bed. Once in a while, a notice will appear indicating that a doc
-
Hello As I have said on the matter, the two CX are Single-device mode, and I do not see the menu device to add to another or something like that. The two meets all the conditions, one I installed latest version of premium (9.3.2.1 - 9) to be sure tha