Using process manager to get command line of a running application

hello,
i'm currently using the process manager framework to get a list of current running processes on the machine. i would like to get the command line to display to the user. i can see how to get the path to the executable file. i.e. /Applications/AppRunning however i'd like to get the full command line and im either missing it from the documentation or not seeing the links to get that information. so i want to get /Applications/AppRunning -c someoption -f another option. can anyone recommend a function to assist me or if im using the wrong API to get the information i am looking for can someone recommend the correct API?
thank you very much.

musikit wrote:
thank you very much. you have been more then informative about this. i'll have to check out the kernel queues and events api you mentioned. i've never really digged this far into a unix style OS before. it's pretty interesting. it seems like EVFILT_PROC is what i want to get process starts/stops.
I've never done this either, so I'm quite sure I'm missing some big things here. Some other things that might be handy are dtrace and ptrace. I strongly suspect that there is some really easy way to do it that I don't know about. You might try searching on the Apple developer mailing lists.
at the end of the day though i still need to be able to retrieve the command line of a running executable. 'ps' can do it so i'm assuming there is a programatic way of doing it. is the mac 'ps' command source code online anywhere that i can see what it's doing?
I don't know about ps. There are a number of Mac applications that do things similar to what you propose. Marcopolo is open-source and can detect when applications are launched.
i have looked at the linux procps package however it relies on the procfs which mac does not have.
Amit Singh wrote a MacFUSE-based procfs for the Mac. You can look at the source code to that, but, to quote Amit "the MacFUSE version of procfs makes heavy use of the Mach programming interfaces". Good luck with that. Still, there might be some helpful information in that link.

Similar Messages

  • Problem using extension manager CS5 with command line

    Hi All,
    I had posted my question here : http://forums.adobe.com/message/4695419#4695419, but was advised to do so here as well..
    I have a requirement to get the path of all the installed Extension Managers on any Windows system for the purpose of installing an extension.. I thought, there would be no problem in getting the path from the registry. There was no problem in Win XP, but the same does not work for Win 7.. I googled, and found alternate ways to get the path.
    Here is the link : http://forums.adobe.com/thread/851359. I followed the instructions in this post, but failed to get this working for CS5 as mentioned in my previous thread... No problem for CS5.1 and CS6.. Why is that?
    I want to get this working for CS5, CS5.1, CS6... How can I get the path of all the Extension Manager versions installed on a Windows system?
    Please refer to the following screenshots to get a better understanding of my problem,
    I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
    resultFile = new File("D:/result.log");
    resultFile.open("w");
    resultFile.write(BridgeTalk.__diagnostics__);
    resultFile.close();
    If I run this directly from ESTK CS5, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
    On executing the above, I got the following error,
    What is going wrong?
    Please help!

    I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
    1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
    2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find  previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
    3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
    4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.

  • Command Line Parameters for Run Application.vi in the LVWUtil

    I am trying to use the "Run Application.vi" located in the LVWUtil.llb.  I am sending a command line similiar to this:
    "C:\WINXP\system32\msiexec.exe" /i "C:\qc data\ZVMS Program Updates\Application Installer\install.msi"
    this command line works from the Start>Run dialog but the Run Application.vi only sees the beginning of the line "C:\WINXP\system32\msiexec.exe" so it opens the windows installler but does not go to the install.msi file and run it.  Does anyone know the correct command line formats for the Run Application.vi to run the entire command line?
    Thanks,
    BethV

    Hello BethV,
    I downloaded the LVWUtil32.zip file from the Windows API Function Utilities (32-bit) for LabVIEW example program.  In that zip file, is a library entitled Winevent.lib, which includes the Run Application.vi.  When you used this VI, I believe the string you passed in as a input had too many quotation marks.  Namely, you do not need quotes around the msiexec.exe call.  I passed the following string into the Run Application.vi and got the expected results:
    C:\WINDOWS\system32\msiexec.exe /i "C:\mymsi.msi"
    Please let me know if it helps.
    Message Edited by Wendy L on 10-21-2005 02:34 PM
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews
    Attachments:
    RunApplication.GIF ‏2 KB

  • Error starting managment server from command line

    I tried to start the managment server from the command line like this:
    <jvm_home>/bin/jrcmd <pid start_management_server
    and I'm getting the following error:
    <pid> Not enough storage is available to run this command
    The system has plenty or resources. I'm unsure what storate the command refers too.
    The pid was found by using tasklist /svc at the command line to find the pid matching the domain service name.
    this is jrockit 1.42_13

    What operating system are you on? What is the complete version of JRockit ("java -version" will tell)?
    Regards,
    /Staffan

  • Getting command line output dynamically

    I am executing one command line argument through WPF application but not getting any output of command line execution. But if I will execute same command through command line manually then getting out put. I am using synchronous operation and below code.
    System.Diagnostics.ProcessStartInfo procStartInfo =
                        new System.Diagnostics.ProcessStartInfo("cmd", "/C " + commandlinearg);
    procStartInfo.UseShellExecute = false;
    procStartInfo.CreateNoWindow = true;
    procStartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
    procStartInfo.WorkingDirectory = strToolsPath;           
    procStartInfo.RedirectStandardOutput = true;
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo = procStartInfo;
    proc.Start();
    result = proc.StandardOutput.ReadToEnd();
    proc.Close();
    --Mrutyunjaya

    Hi Magnus, I am using synchronous operation like below
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo = procStartInfo;
    proc.Start();
    result = proc.StandardOutput.ReadToEnd();
    proc.WaitForExit();
    if output is very huge then in that case is it required to collect in a huge buffer or below code can collect the out put 
    result = proc.StandardOutput.ReadToEnd();
    because I am using also WaitForExit but still I am not getting out put whereas using same code i am getting output for some commands(which gives less output). 
    Mrutyunjaya

  • Unable to get command line from client!

    Does anyone know what this means? My G5 shuts itself down and I don't know what is causing it.
    Mac OS X Version 10.4.11 (Build 8S165)
    2009-02-12 11:01:19 -0800
    2009-02-12 11:01:21.760 SystemUIServer[199] lang is:en
    Feb 12 11:01:33 mDNSResponder: NAT Port Mapping (LLQ event port.): timeout
    Feb 12 11:01:37 cups-lpd[221]: Unable to get command line from client!
    Feb 12 11:10:48 Zelle-Olson cups-lpd[233]: Unable to get command line from client!
    Feb 12 11:17:37 cups-lpd[235]: Unable to get command line from client!

    Hello golferky,
    CUPS stands for Common Unix Printing System and is just one of the many background processes that is running on your system and is of no harm. What you are seeing in your message console is your Mac attempting to talk to a printer you have may have had or still have it connected to.
    Here is more information if you want to look into it.
    http://www.cups.org/
    B-rock

  • Use third party framework in Command Line Tool

    Hi.  I'm writing a small application for a friend of mine, and basically what it does is lets you put in some information, and then creates and stores that information in an Excel file.  However, all of my research suggests that C++ doesn't work nicely with Excel files, so I found a 3rd party framework called LibXL which provides C++ with the ability to create and edit Excel files.  My only problem is getting my Command Line Tool to use this framework.  I'm not even sure if it is possible, but if someone could help me out, I would really appreciate it!
    P.S: I'm using XCode 4.2 to write this application, and I'm using Command Line Tool because the application has to be useable on Windows.

    That last one is an excellent punch line!
    >I found a 3rd party framework called LibXL which provides C++ with the ability to create and edit Excel files.
    That should be coming with a manual. Some frameworks can be included in their entirety into the program you are writing, where for others you can only reference to it and you have to distribute the framework file(s) along with your own application. This doesn't sound like one, but an external framework may only be meant for GUI functions, in which case you cannot write a Terminal-only program.
    But here comes the kicker:
    >P.S: I'm using XCode 4.2 to write this application, and I'm using Command Line Tool because the application has to be useable on Windows.
    It's possible for you to *write* the program but not to compile it. (Actually, you *can* compile it but then you have a Mac Terminal program, not a Windows one.) Even if you know what you are doing and are happy with sending over the source code, together with instructions on how to compile it under Windows, this implies you would only and *exclusively* use functions that are available in compilers for Windows. That rules out your External framework idea -- unless there is a Windows version available as well (do check for that; if this is an Open Source project, there very well may be.) But you are still programming "blind", and if you get it to work on your Mac (and nevermind the problem with the framework being external, because you won't need to send it over anyway) but your friend canNOT make it work under Windows, you won't know if it's because the Windows version of the compiler doesn't accept the external library, or it's the wrong version, or you accidentally used a Mac-only feature anyway, or the friend does not know how to compile ... et cetera, et cetera.
    Best advise is to install VirtualBox (or something similar) on your system, test all you want with XCode but then, after you got it to work, carry over the project into Windows and start a-new.

  • To get list of all the running applications

    Hi all,
    Hey can anyone tell me how i wil get list of all the running applications on windows using java?

    Cant it be done even using Runtime.exec()?Well, sure. Assuming there is a command-line program
    that does what you want. But then your question is
    "What can I run at the Windows command line to get a
    list of all the running applications?" and (I am sure
    you will agree) this is nothing at all to do with
    Java programming.
    I completely agree... I just find it amazing that this guy knows exactly what he wants to do but is unable to point a web browser to a search engine, type in what he wants to do the read the resulting pages.

  • Getting error when using the "/parameter" switch in command line run

    Has anyone experienced this problem before?
    My report queries over 100,000 records from a view. When the report is run from the command line every thing works fine.
    But when I add a condition using a "parameter", although the report still runs fine from the destop, when launched from the command line it errs.
    "Oracle Discoverer Desktop has encountered a problem and needs to close. ..."
    "The instruction at "0x0044397c" referenced memory at "0x0000004e". The memory cound not be "read"...."
    I'm guessing its a memory issue with my PC. I've tested using a parameter with other reports using fewer records and it doesn't err from the command line.
    I can work around the issue by not using a parameter but then I have 20 versions of the same report each with a different condition.
    Any suggestions would be appreciated.
    Lise McGillis

    Hi Michael,
    I'm using an DELL Intel Pentium 4 CPU 3.00 GHz with 1 GB of RAM. We use Microsoft Windows XP Prof version 2002.
    As for Discoverer we are using 10G, Desktop Client 10.1.2.48.18 - 1047500 KB available memory , 2099744 KB Free disk space.
    I'm not sure I have acess to a computer with more RAM but I'm looking into it.
    What I'm frustrated by is the fact that the parameter works fine when run directly from the desktop but when passed from the command line it bombs... but only when dealing with mega records.
    Lise.

  • Dumb question- how do I get to the command line without X running?

    Hi,
    As per the title please... I need to rerun Xorg -configure, but cannot for the life of me figure out how to shut down X and get to a command line
    Thanks

    Bes wrote:
    Ctl alt and backspace just takes me out to the login screen.. from there I can't get to the terminal without X running.
    Ctrl Alt F5 gets me to the command line, but I can't kill the X server
    Thanks though
    so with ctrl+alt+f5 you're at the console
    log in if you need to, then
    ps ax | grep gdm
    4441 ? Ss 0:00 /usr/sbin/gdm-binary
    4442 ? S 0:00 /usr/sbin/gdm-binary
    4444 tty7 SLs+ 3:38 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth
    6633 pts/0 S+ 0:00 grep gdm
    kill 4444
    the above example assumes gdm is your login manager so substitute whatever you're using, and you can kill the other instances of gdm (in my example processes 4441 and 4442 but don't waste your time on the grep process 6633
    now redo your X config
    (actually you could run this from a terminal from within X and it should have the same effect of dropping you back to console
    Last edited by tj (2008-04-20 09:36:15)

  • Slim fails to login...how to get command line back?

    Man, what a drag.  I (seemingly) successfully installed Arch with xfce, which is a huge accomplishment for a guy coming from years of Ubuntu, and avoiding command line and config files every chance he gets.
    Anyway, I'm using slim as a display manager, and it fails to login (I am choosing the xfce session).  I can't seem to get to a command line so that I can try a different display manager.  Google says that Ctrl-Alt-F1 should do the trick, but that just gives me a black screen and sits there.  Any help?
    Thanks.

    Pacopag wrote:I'm not sure how to even edit the grub file.
    Like this http://www.cyberciti.biz/faq/grub-boot- … user-mode/
    Does Alt-Ctrl-F2 work?
    Last edited by karol (2011-05-29 03:39:49)

  • Error: starting remote managed server from command line

    I have enabled SSL on the admin server, and configured/added the managed server
    via my admin server console. However, when I attempt to start the managed server
    via cmd line (script) on the remote machine, I get the following message:
    Starting WebLogic Server ....
    Connecting to http://adminservermachine:7001...
    <Nov 18, 2002 11:42:28 AM EST> <Emergency> <Configuration Management>
    <Errors detected attempting to connect to admin server at wk-gferguson:7001 during
    initialization of managed server ( null:7001 ). The reported error was: < weblogic.security.acl.DefaultUserInfoImpl
    Start server side stack trace:
    java.lang.ClassCastException: weblogic.security.acl.DefaultUserInfoImpl
    at weblogic.kernel.BootServicesImpl.authenticate(BootServicesImpl.java:189)
    at weblogic.kernel.BootServicesImpl.invoke(BootServicesImpl.java:145)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:620)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:581)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:164)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:640)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:643)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    > This condition generally results when the managed and admin servers are using
    the same listen address and port.>
    <Nov 18, 2002 11:42:28 AM EST> <Emergency> <Server> <Unable to initialize the
    se
    rver: 'Fatal initialization exception
    Throwable: weblogic.management.configuration.ConfigurationException: weblogic.se
    curity.acl.DefaultUserInfoImpl

    This particular log entry looks like your problem:
    <Jan 8, 2010 11:33:30 PM PST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 10.249.22.43 might be incorrect or another process is using port 20014: java.net.BindException: Cannot assign requested address.>
    Check using netstat to see if that port is already in use.
    Shared libraries don't need to be on the classpath, they are deployed similar to applications, so I'm confused by your comment about putting them on the classpath. I assume you're using Node Manager to start the server from the AdminConsole, if you want to use a difference classpath either use the StartupScriptEnabled=true in nodemanager.properties OR put the extra classpath entries on the Server Start tab in the console.

  • How do I start an app using transset-df with the command line?

    I'm using openbox and have found that I can make xfce4-panel transparent using transset. The only problem is that I have to run "transset" and then click on the panel every time. Is there a command I could just type in to the command line that would start xfce4-panel with .75 transparency? I could then add that to my autostart.sh file and all would be good and dandy.
    What I was thinking is maybe there's a command like
    transset-df .75 xfce4-panel
    that starts up the panel with 75% opacity. Obviously that doesn't work because I tried it. I also read something about using a script, but I don't know how to write those. Perhaps there is a way to set it so whenever xfce4-panel is started, transset-df sets it at 75% opacity? How would I go about doing this?
    Last edited by Redrazor39 (2009-06-11 15:15:19)

    Openbox seems to be doing a 'tidy up' of all windows after autostart.sh completes.
    This would be fine, except for the fact that the tidy up re-renders every window and while it does so it re-sets transparency as part of the same process.
    So, to get your xfce panel to stick at the transparency setting you apply with transset-df, you need to ensure the transset-df is done after autostart.sh finishes.
    The easiest way to achieve this is to create a small script, say in /usr/local/bin
    # /usr/local/bin/openbox-xfce-panel-transset
    # Set xfce4-panel transparency after safe delay
    sleep 1
    transset-df -n "xfce4-panel 4.6.1" 0.75
    Add a call to this as the last line of your autostart.sh
    # Set xfce4-panel transparency after autostart.sh has exited
    openbox-xfce-panel-transset &
    Regards,
    Mike
    Last edited by bluearcus (2010-01-08 19:25:56)

  • Managing MBeans w/Command Line throws Exception

    When I try to get the attributes of MBeans using the
    GET command I get the following exception:
    Note: non-MBean commands like PING execute fine
    ++++++++++++++++++++++++++++++++++++++++++++
    java weblogic.Admin -url localhost:7001 GET -type ServerConfigweblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception
    java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 125
    java.io.StreamCorruptedException: Type code out of range, is 125
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
    Compiled C
    ode)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.util.HashSet.readObject(HashSet.java:246)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
    685)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:106)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:114)
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:552)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception - w
    ith nested exception:
    [java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
            java.io.StreamCorruptedException: Type code out of range, is 125]
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:572)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)

    Thanks; you were right.
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    That sounds like you use 1.2 to run weblogic.Admin - try it
    with 1.3.
    syrinx <[email protected]> wrote:
    When I try to get the attributes of MBeans using the
    GET command I get the following exception:
    Note: non-MBean commands like PING execute fine
    ++++++++++++++++++++++++++++++++++++++++++++
    java weblogic.Admin -url localhost:7001 GET -type ServerConfig
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception
    java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 125
    java.io.StreamCorruptedException: Type code out of range, is 125
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
    Compiled C
    ode)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.util.HashSet.readObject(HashSet.java:246)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
    685)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:106)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:114)
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:552)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception - w
    ith nested exception:
    [java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is125
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:572)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)--
    Dimitri

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

Maybe you are looking for

  • Search and replace, with pattern matching using a table

    I need to inspect a data stream and standardise a set of codes. I need to 1. Match any patterns with a dash character and remove the dash and any following characters, eg BN-S -> BN, BN-SH -> BN, ARG-22 -> ARG, etc. 2. Make a few specific word for wo

  • Acrobat X Wont Start

    I have Acrobat X as part of CS6. Seemed to work fine since installation. Two days ago, it stopped working, won't open. I tried the fixes listed in this forum. No luck. Can Adobe help please. Thanks, Bill Byrnes

  • Deploying the extended controller class file on server

    Hi OAF Experts, I am working on the already extended controller file. I have made the changes and was able to comiple the controller class file. I have one uestion for you. Now to put the class file on the server i am following the below steps: 1) Pu

  • Reply opens with indent and vertical lines. How to avoid them for good.

    In TB when I click reply, a message that I am replying to opens with vertical blue lines on the left and right (indent vertical lines) and with a heading like this: On 05/12/14 11:21 AM, [email protected] wrote: Is there an easy setup to avoid gettin

  • Attaching document is PR for

    hi Can anyone help me with this. I want to create a user in SAP R/3 and when the type of user is made as service user, the icon for attaching the document is not displayed. So its the same in Portal as well. But if the user is a dialog user the icon