Running a remote application via GDB

Hiya,

I'm trying to debug an application and I want to use GDB remote [that is to say no IDE, just through the command line]. I develop on Linux with Qt/QML for the Playbook. There are some documents [1] and an old net forum [2], but are somehow above my head. Given a file bar "abc.bar", could someone provide step by step instructions on how I can debug it remotely because it runs on the device?

http://developer.BlackBerry.com/native/documentation/BB10/com.QNX.doc.neutrino.prog/topic/using_gdb _...

http://supportforums.BlackBerry.com/T5/native-development/launching-debugger-without-IDE/m-p/1789555...

Kind regards

Preet

I have the following text in a Makefile:

[Assuming that you have not made your program]

BlackBerry-debugtokenrequest $ - storepass - devicepin _tok.bar

$ blackberry-deploy-package .bar - installDebugToken _tok.bar - password

$ blackberry - deploy - debugNative - launchApp-device - password .bar | grep result: | sed / result: / /' > pid

[Connection to the device and running GDB]

$ blackberry connect- - password - sshPublicKey ~/.rim/bbt_id_rsa.pub >/dev/null &

$ echo target qnx : 8000 > gdbrun

$ echo sym > gdbrun

$ printf "join" > gdbrun

$ cat pid > gdbrun

$ ntoarm-gdb-command = gdbrun

I have only a PlayBook, so if you also want use it for BB10 later I don't know if it will work.  The whole project is hosted at: https://hg.interactivelaboratories.com/playbook_template

Tags: BlackBerry Developers

Similar Questions

  • Run Microsoft remote applications (RemoteApp service) through WebVPN

    Hello

    Having been troubled by the following thing:

    I've got Cisco ASA 8.2 configured to use WebVPN. And it seems that everything is working properly.

    But, when I try to run the remote application via Microsoft TS (RemoteApp service web pages), it returns me error: host is unreachable.

    The application correct running inside the local network and the run profile includes the IP address of the host. The application installed on the same host running the service Microsoft RemoteApp. So, if I can not access the server, I should have access to the application as well...

    So, did anyone knows where the hook?

    ! ACL

    access-list acl_vpn_clients note * VPN access for clients to resources *.
    access extensive list ip 172.16.13.0 acl_vpn_clients allow 255.255.255.0 host 172.16.3.101

    ! Web - acl

    access-list acl_web_clients webtype allow url http://172.16.3.101/ * default journal

    access-list acl_web_clients webtype allow url rdp://172.16.3.101/ * default journal

    ! default policy

    dynamic-access-policy-registration ClientsAccessPolicy

    Description "Access policy by default for users of WebVPN/Anyconnect customers"

    network-acl acl_vpn_clients

    WebVPN

    Appl-acl acl_web_clients

    value of the Corporative URL-list

    ...

    ...

    WBR,

    SERG

    SERG,

    can you say try adding:

    Iexplore.exe

    mstsc.exe

    TSWbPrxy.exe

    This is the process involved as far as I understand which app you're using.

    The processes were "reverse engineered" by looking at process monitor duing execution ;-)

    Marcin

  • Run a LV-application on the remote computer

    Hi all

    I am trying to install an App LabVIEW functioning as a server in our local network. I might add this as a service in the respective machine autostart. However, I prefer to have a method to start the respective application of a different LV (vi or exe) go elsewhere in the local area network. This means that potential customers can start the server if it is not yet done.

    Does anyone have an idea? Searched for examples and the internet for no results.

    TIA!

    Greetings from the Germany!

    --

    Him

    This question comes up a lot.  And I always recommend PsTools from SysInternals:

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896649.aspx

    They are a free set of command line utilities.  One of the utilities is PsExec which can be used to launch the exe on remote computers.

    NOTE: Remember that setting up your remote application as an "NT Service" is a little more complex.  If you manage to actually implement a 'service', you would actually use a different tool (PsService) to start a service on a remote computer.  Either one will do the job.

  • I need 32-bit to run access remotely for the work but have Windows 7 (64)

    I have a new Dell with Windows 7 laptop. To work from home, I use a program of remote access that will not work with 64 bit but needs 32. I have been informed that I need to buy Windows Vista. Is this really necessary?

    Thank you.

    Hello Lyndaware,

    Thank you for your message.  64-bit operating systems will be run 32-bit applications, however, you might have been told that your application is compatible with Windows 7.  I would advise that you check with your IT support to get better clarification of why you need Windows Vista.  For now, Microsoft sold more Vista, but you may be able to find a copy online or through your local dealer.

    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Run a remote command on a virtual machine

    I have a remote application that generated virtual machines by request. After that each machine is generated and custom, I need to run a command-line on this machine (machine all have Windows OS installed) of the application itself.

    Is there a way to do it through the java/vsphere API?  (The machine is running on)

    Thank you

    the vSphere API does not provide capabilities to execute commands within the guestOS which is what uses the SDK for Java (VMware Tech Preview of Java SDK) and VI (Version of Steve Jin).

    However, VMware has an another API that is available for the management of comments called VIX API. This API allows you to perform operations within the guest, transfer files to/from host, etc. There is even a project open source similar to that of VI Java API called Toolkit Java VIX you could look in - http://sourceforge.net/projects/vixjava/

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Error running the same application

    Hello
    I was able to run the same application in another machine in another place.

    But when I run the app even here now, by putting the following host name instead of the IP address (I used when I ran the same application in another place) in the connection string.

    String url = "jdbc:oracle:thin:@ibmpc_may:1521:xe";

    (I have no problem to connect to this DB XE by here)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ibmpc_may) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    But I had the problem below when you run the application itself.
    # Cannot run application app12 due to the deployment on IntegratedWebLogicServer error.
    [16: 09:42] # incomplete deployment. ####
    [16: 09:42] remote deployment failed
    [Application app12 interrupted and cancelled Server Instance IntegratedWebLogicServer]

    Either by the way, where is the log file? The host name that I used above may be the reason for the problem?

    Published by: user12233770 on May 10, 2011 16:23

    You can check with the removal of system folder?

    It will be in C:\Documents and Settings\utilisateur\Application Data\JDeveloper

  • "Your system is running out of Application memory"

    Hello

    Since last week I have been having a problem where my computer screen appears with a reading of the question 'your system has sold out of the memory of the application.' This happens around every 20-30 minutes to use my computer, where the issue is resolved by restarting my computer. However, this message appears when I have 1 or 2 applications open (including the permanent Finder application). At my computer without a doubt a lot of memory left and I installed only 5 additional applications: League of Legends, Microsoft Excel, Powerpoint, Word and Outlook. I used OS X El Capitan for the first half of the week and macOS Sierra for the second half, but the upgrade did not solve my problem.

    I run:

    MacBook Air (13 inch, mid 2013)

    1.3 GHz Intel Core i5 processor

    DDR3 4 GB 1600 MHz memory

    Start drive Macintosh HD

    Graphics Intel HD Graphics 5000 1536 MB

    Your system is running out of RAM, not disk space. 4 GB is the absolute minimum of RAM. Try to remove all unnecessary startup items (Preferences > users and groups > you > login items) with the key less (not simply uncheck the boxes - which hide just the app but it still works).

    You can also run activity monitor (Applications > utilities) to see what is using the memory.

  • Cannot control portable iTunes with the new remote application

    Hi all

    Hey I just got the new remote application and it seems to have the ability to control your applets. The former used for you to control iTunes on your laptop remotely.  Is it possible to do this with the new application?

    Thank you

    Pete

    I have three Remote apps made by Apple on my iPhone, to control iTunes has a blue icon on a white background with a white play button. Keynote remote has a picture of a desk, and the Apple TV remote is grey and black with the logo of Apple TV. You want the first.

    TT2

  • system is not able to run the Apple Application Support service

    I can't install itunes on windows 7 32 bit. Any suggestions on Apple Support do not work. The system is not able to run the Apple Application Support service. Any suggestiones?

    Can you post the error message you get when you try to install or launch iTunes?

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • What are the original applications for the iPhone 6 s. I had to sync to my iPhone 3g to my new 6s in order to maintain my contacts. can someone please send screenshots of an iPhone running 6s with applications shown. I need pages outside the home page.

    What are the original applications for the iPhone 6 s. I had to sync to my iPhone 3g to my new 6s in order to maintain my contacts. Unfortunately, I lost a lot of these new applications. can someone please send screenshots of an iPhone running 6s with applications shown. I need pages other than the home page. Thank you!

    'Stock' apps are part of the installation of iOS and cannot be removed, so there is nothing to verify or prove.

    When you move to a new phone, just need restoring your old backup phone and compatible applications will be synchronized to the new.

  • I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    No, because if you bought a new iPhone, then you need a SIM card to activate it before you can use the wifi applications.

    This is a phone after all, you don't need a sim card any to be able to activate it.

  • How to access messages remotely or via web?

    How can I access e-mail remotely or via web.  All I know is that you can't do through iCloud.  (With the help of Macbook 10.11).  Thank you.

    You can if you use email to iCloud. If you do not, then you will need to access it from the web site of your email provider, for example, Google, Comcast.

  • Apple TV (4th gen) cannot run third-party applications

    In the last days, I knew this major problem where I can't run third party applications. When I go to all third party apps, the screen goes grey (background parallax effect) and I press the Menu button to see the home screen again.

    I saw these 2 times now, and the apps would work very well for some time between the two.

    Built-in such as movies and App Store apps seem to go very well.

    Network seems fine as I could watch movie trailers.

    I tried to go into the settings of-> system-> Restart, nothing helped.

    If someone knows the cause of this or has no work around, let me know!

    Make sure that there are no applications running in the background by force to leave everything.  Since the double home screen, tap the button with the silhouette of the TV and slide up all the apps that appear outside the home screen.

    I have apps that will work just fine one day and then throw in a screen empty the next.  Forcing everything to quit running in background solves the problem.  You'll be amazed how many programs accumulate since you never really left a program when you return to the home screen.

    I think that the system software and applications are pretty buggy at this stage in order to make the applications completely leave minimizes problems.

  • Programmatic access to remote files via VPN on Playbook

    Hello

    It is technically possible to download remote files via VPN programmatically?

    I can't find any documentation on this topic.

    Thank you

    Oh, not... I don't think it's possible.

  • How to run no Ui application

    Hi all,

    I'm working on request blackaberry.

    I have a problem with no ui application performance.

    I have to write ui non-application, which is not a show in the blackberry desktop (I mean the icon of the application, which is display on the screen of the device).

    and I have to run no ui application to interval given automatically, or whenver the contacts are add, edit and delete.

    So how to run my application no user interface which is not present in the screen of the blackberry device. ?

    Thanks in advance for any help and better understand my English.

    If you select the "system Module" Application icon will not appear.

Maybe you are looking for

  • Qosmio G30-102 Optical SPDIF not working not

    I bought the new Qosmio G30-102 and I'm sure that the connector SPDIF optical Out does not work. I can't test it now, but I had a couple of SPDIF sound cards and each of them had a red light on all the time, who reported that Optical SPDIF is support

  • problem with router WAG54G2

    I bought this model and use it to connect 2 office units and a playstation 3 through the ether, but also a laptop via the wireless link. using only the ps3 works fine, using only offices very well works. problem using laptop computer while sharing th

  • Reinstall the os and software backup extrenal hard drive on newly formatted disks raid o

    I have a gateway dx420s there a HDD 160 GB, I want to do is first of all to buy hard drives of 500 GB to 3 two who will enter the computer and set up in raid 0 stripping data that the computer supports raid 0 or raid 1. first of all I want to save my

  • How to bypass Microsoft Store?

    I recently bought a new laptop from Sony and one of the 'apps' is Microsoft Store.   Without "search option", it is very difficult to find what you are looking for.  They don't come in categories such as books. I am looking of the old and the New Tes

  • How to deploy Acrobat plugin for outlook with specific parameters?

    Is it possible to have the setting "output adobe pdf portfolio when creating a new pdf file" in outlook on the Acrobat tab, unchecked, when I install Acrobat Pro XI. To view this setting must open Outlook, select Adobe PDF tab above, click on change