Is it possible to debug native code via DONKEY?

Is it possible to debug or add breakpoints on the native C code that is called using a native extension in DONKEY?

Yes, you are debugging your application on the device of FlashBuilder as usual, and you then use the option "attached to" If the NDK IDE to attach to the running instance. You can debug natvie and FB at the same time. Very shiny!

Tags: BlackBerry Developers

Similar Questions

  • Is it possible to debug an iOS device via a USB rather than using the network?

    Hello

    Is it possible to debug an iOS device via USB instead of using the network? I want to test demand for offline scenarios. Please let me know.

    Thanks in advance,

    Swathi.

    Router is on but disconnected from the internet. Your computer is assigned an ip address by the router. It will be something like 192.168.0.1 the IOS device can be 192.168.02. Most of the routers will identify attached devices and their IP via the administration panel. If you receive a Windows command prompt and type ipconfig, you will see the IP address of the PC.

    Your router is now a LAN - is differrent from being connected to the internet.

  • Trigger the native code in WebView - Invocation?

    Hello

    I have a WebView inside my application and trigger the native code on certain events in the Web view. In iOS or Android, I would like to make a call to a URI (myapp://dothisfunction) and I as regged of URI in the app. But is it possible in 10 BB? What is the alternative?

    / Johan

    Just the handle NavigationRequested cascading. Or call the native side of JS using navigator.cascades.postMessage () and the managing of messageReceived. No need for the URL custom or the framework Invoke.

  • Is it possible to read a code bar directly in Labview?

    I have a bar code reader that bed codes in Notepad as planned, but I'll have a chance to read a code in Labview 8.6. Is it possible to read a code directly in Labview using a barcode reader. The drive that I use is a symbol DS6708.   Thank you.

    Thanks for the help! Problem solved!

  • Machine virtual Java to native code: EXCEPTION_ACCESS_VIOLATION (0xc0000005)

    Originla title: Re: java

    I received this error message that the accident happened outside the Virtual Machine Java to native code. A fatal error has been detected by Java runtime environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc = 0x7c919af2, pid = 3388, tid = 1364
    #
    # Version JRE: 6.0_26 - b03
    # Java VM: Java hotspot Client VM (20, 1 - b02 mixed mode, sharing windows - x 86)
    # Problematic frame:
    # C [ntdll.dll + 0x19af2]
    #
    # If you want to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The accident happened outside the Virtual Machine Java to native code.
    # See problematic frame for where report them the bug.

    Hello

    · Were there any changes made on the computer before the show?

    1. run chkdsk /r on the drive and check if it helps. You can visit the link below for the procedure: how to perform disk error checking in Windows XP: http://support.microsoft.com/kb/315265

    2. uninstall older versions of java and install the latest version and check if that helps. You can consult the links below for the procedure:

    How to uninstall Java on my Windows computer? : http://www.java.com/en/download/uninstall.jsp

    Download Java for Windows: http://www.java.com/en/download/inc/windows_new_ie.jsp

  • All plans to support Native Code Android?

    I'm deploying an android game using libgdx framwork which I believe uses native code.

    Are there plans to support native code on blackberry?

    Thank you!

    Hello world

    Thank you for visiting the forums!

    Instead of the native BlackBerry SDK, native (JNI) code is not supported in the BlackBerry Runtime for Android application development platform.

    Duration of blackBerry for apps Android - software features not supported

    https://developer.BlackBerry.com/Android/apisupport/unsupportedapi_blackberry10_software_features.ht...

    The native SDK microsite can be found below.

    Native BlackBerry SDK

    https://developer.BlackBerry.com/native/

  • native code: x 86

    Hello

    I already joined BB plugin in Eclipse...

    Then, after adding nature BlackBerry to my project, I got an error "native code: x 86" in "AndroidMainfest.xml"...

    How can I solve this?

    NOTE: my project contains the SDKs like facebook, google-game-services, inmobi and andengin.

    Thanks in andvance

    The problem is you are testing with the old plugin. You need the 2.0.2 new tools as well as the plugin for new tools. The new tools will allow you to reorganize and deploy applications containing native code.

  • testing native code for running on battery

    is it possible for a native C application test if running on battery power or not?

    I don't need levels. just battery/notbattery.

    Thank you.

    nothing about the battery/charger/power in docs ndk. Maybe access to ' / pps/services/power / "can help you? It is dirty way, but it's the only thing in my mind right now

  • Newbie wanting to AIR w / extensions to native code and the Protocol of Android accessory

    My interests include prototyping and very specific to very specific real-world applications of programming solutions.  So I bought a Playbook after viewing the quick "prototyping" video in this blog:

    http://devBlog.BlackBerry.com/2011/12/BlackBerry-PlayBook-Arduino/

    I tell myself I can do cela or something similar with PIC Basic Pro and a Microchip IC.  Although it has been nearly six months, from what I can tell, the RIM developers have failed to deliver on explaining how to use native code and the ancillary Protocol Android to connect in series on client's port to the mini-USB of the Playbook.

    Is RIM people please, show us how set up the programming environment, use the code, the mini-USB port on client Playbook, the adapter USB (where to buy, what is it exactly?), so we can use the USB client connected to an Integrated Circuit Programmable to connect in series with an AIR running on the Playbook application.

    Kenneth Mark Klausner

    How this kind of thing is that you have the hardware (Controller USB etc.), and there different registers, buffers, etc. that must be handled.  The first layer of software, what made this manipulation, is a device driver. While in some operating systems (Linux, for example), you can write yourself, or port code Besides, material in the PlayBook is accessible only by the drivers as part of the operating system, which means that the RIM should provide their.

    These drivers are may be incomplete. We do not know that for some.

    Drivers expose a particular interface to the next higher step of the software, an interface that must be respected. This interface is generally quite low, and the driver can support the features that cannot be exposed to third party software, so for this and probably other reasons, we can not directly access (and are prevented by security mechanisms).

    There is another layer of software on top of the pilot, commonly called a library. This library is also provided by RIM, as part of the operating system.

    This library can be incomplete as well. We do not know the details, but I suspect someone who knows this level of the design of the system and who attended the BB10 Bluetooth and USB discussion group would be able to interpret what they heard there to clarify.

    It's this library which provides what we call a bit of hand-wavingly API 'USB '. This is an interface in C language, with a set of data and calls structure function definitions that enable higher level code perform different operations related to USB.

    If you want to write a DONKEY, you write about this library, not the level of driver and not material. You have no choice in this matter, as it is applied by the security of the OS.

    So to sum up, if we refer to 'USB API' they're talking about essentially the library routines, and it is necessary to talk to this API to get whatever it is the case here.  The API can be described in the header files (there is something), or maybe he's going to be an API different than what I see out there. Whatever it is, it is undocumented in other places at the moment, so all who want to enter this need to make much low level experiment (talking to the library).

    They can have the documents which cover this and perhaps code samples to talk to the library. If the version of the operating system we have has the incomplete versions or buggy drivers or libraries, this could explain why they have not pushed this documentation and code for us.

    I think that I heard that they are gathering input (requirements, use cases, comments) from people in this session.  Who tells me that they are still working on some details, and when they are at a stage like that they simply don't tell us publicly where they are, deadlines, or what it will look like when it is done.

    And so expect.

  • Calling native code of WebWorks

    I've asked this question before and got a good answer pointing to this link:

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/template

    He has me in trouble. Not because of it be misled, because it was absolutely huge.

    If someone can show the absolute essential to call native code (no javascript) just add 2 numbers and returns the response, it would be much appreciated.

    As far as my own experiences with native extensions go, the model that you have linked in the first post is about as simple as that. If you draw the relevant code for the style of appeal that you need (aync, sync, reminder, etc.) the rest of the toy seems to be necessary for the interface JNext function properly.

    It was a bit complicated when it came to compiling the extension, by adding in the webworks sdk, then compiling the webworks project, but I can't see much thing to remove from this example.

  • problem with debugging the code

    IAM using JDE 4.6. I used to debug the code until yesterday. But suddenly, I couldn't able to debug the code. When I insert a debugger, it does'nt stop there during execution. If I try inserting the debugger during execution, an error pops up "no executable code to the selected line. Help, please.

    What happens to me when I am debugging the device on the Sim Card and the code for the device or the Sim Card does not exactly match the JDE.  Recompilation and the commissioning the device or the Sim Card with the new code usually fixes it.  Give it a try.

  • MSAD accounts to native accounts via LCM?

    We have a DR server hosted by Amazon, which does not support the MSAD configuration.

    I was wondering if there is a way to wear quickly in their native accounts via LCM MSAD accounts?

    Instead of right clicking and exporting simply run an export of FCL on users of the native repertoire... CSV, you can then use the file set LCM to import and to automate using command line utility.

    More information on utility - using life-cycle management

    See you soon

    John

  • keywordsManager: (get the native code)

    On ESTK, running on Bridge CS6 this fives me a function:

    $.writeln (app.document.keywordsManager.renameKeyword)

    I get on console:

    function renameKeyword() {}

    [native code]

    }

    How can I get the native code for this function?

    I don't know how the arguments are organized and how it can be used.

    I also have my Active keywords like this:

    app.document.keywordsManager.serializeToXML)

    and I also have other functions, I want to test use, such as

    addKeyword (?), renameKeyword (?), deleteKeyword (?)

    I solve it.

    ~ app.document.keywordsManager.addKeyword (keywordPath:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.deleteKeyword (keywordPath:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.renameKeyword (oldName:String, newName:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.serializeToXML)

    Notes about the creation of sub keywords:

    When useHierarchicalPath is true, the function will search for the string keywordPath and if it detects a vertical bar (for example ' aaa | ") BBB") which means a keyword"aaa"and a Sub keyword 'bbb' will be created. 'aaa' is created if does not exist.

    It's the same logic used on deleteKeyword and renameKeyword.

    Examples:


    addKeyword

    app.document.keywordsManager.addKeyword ("a few words", true); Add the keyword "words".

    app.document.keywordsManager.addKeyword ("things |") (a few words", true); Add the keyword 'stuff' and the keyword void "words".

    app.document.keywordsManager.addKeyword ("things |") (a few words", false); This action adds the key word "things". a few words"and does not take into account the vertical dashboard

    deleteKeyword

    app.document.keywordsManager.deleteKeyword ("aaa |") BBB", true); Deletes the Sub keyword 'bbb '.

    app.document.keywordsManager.deleteKeyword ('aaa', true); Deletes the keyword "aaa" and all its keywords sup

    renameKeyword

    app.document.keywordsManager.renameKeyword ("aaa |") BBB"," aaa ". CCC', true); Rename the Sub keyword 'bbb' to 'ccc '.

    app.document.keywordsManager.renameKeyword ("aaa", "a11", true); Rename the keyword "aaa" to "a11."

    serializeToXML

    app.document.keywordsManager.serializeToXML (); Returns the XML of the entire structure of keywords

  • Is it possible to write custom code to activate the search funtionlity through several folios?

    Is it possible to write custom code to activate the search funtionlity through multiple sheets in the enterpise app shell?

    If so, does anyone know of possible developers in South Africa which would be able to help me?

    Thank you!

    MEI has a custom storefront that supports this. See http://maned.com/software/portico-digital-publishing/.

    Neil

  • Is it possible to code via Extendscript "make compound shape?

    Hey there Adobe Community.

    TL; Dr - how do you get ExtendScript to call 'Make Compound Shape'. It's to make cartoon speech bubbles.

    Full version:

    I am trying to create a script that could create a word bubble based on a single line. The intended use is expected to accelerate the comic lettering process. For this particular iteration, I am train to retrieve the pathPoints of one line and that allows to create the speech bubble. However, I was really hoping to find a way to run the code to 'Make the shape Compound', so I can change the ball tail later, IE - non-destructive.

    Here's what I have so far.  Thanks to all in advance!

    D

    If (app.documents.length > 0) {var doc = app.activeDocument;}     var artLayer = doc.layers [0];     The CURRENT ITERATION: Find the one and only line, extract he has start and end point.     var pointEnd = doc.pathItems [0] .pathPoints [1] .anchor;     $.writeln (pointEnd "pointEnd" + "\n");     var pointBegin = doc.pathItems [0] .pathPoints [0] .anchor;     $.writeln ("pointBegin =" + pointBegin + "\n");     CREATE ELLIPSE = artLayer.pathItems.ellipse var ellipse (pointBegin [1], pointBegin [0], 225.0, 225,0, false, true); ([top of page] [, left] [, width] [, height] [, reverse] [, part]) ellipse.stroked = true;         data var = {"anchors": [[pointEnd [0] + 2, + 2 pointEnd [1]], [pointBegin [0], pointBegin [1]], [pointEnd-2 [0], pointEnd [1] - 2]]} / / CREATE TAIL BALL arcade = var doc.pathItems.add ();     Linez.stroked = true;    loop through the data.anchors for (var i in data.anchors) {var point = linez.pathPoints.add ();}        point. Anchor = data.anchors [i];        If it is not the first or the last, either, it's only 3 points, if just say 2 //if ((i! = data.anchors.length-1) & & I! = 0) if(i == 2) {point.rightDirection = [pointBegin + 2 [0], pointBegin [1] - 2];}             Alert ("run:" + point.rightDirection);             point.leftDirection = [pointBegin + 2 [0], pointBegin [1] - 2]; Data.Anchors [i];             Alert ("leftDirection:" + point.leftDirection);         } else {point.rightDirection = data.anchors [i];}             point.leftDirection = data.anchors [i];         }} ellipse.selected = true;     Linez.Selected = true;     NEED SOME HELP HERE! How can I call //app.executeMenuCommand ("makeCompoundShape"); }

    It is used to be made exclusively with vbscript, or applescript but starting with CS6 also do you this with javascript

    app.doScript ("actionName", "actionSetFolderName");

Maybe you are looking for

  • I can't publish my book on ibooks

    Hey everybody! I have my new book for children ready to go, but im sitting in itunes connect try to publish to ibooks and he used. Here's a snapshot of my Panel. There is no option 'add a new book '. I filled my tax and banking contracts. they are al

  • Satellite A300d - 14 p PSAK8E and Ubuntu 8.10 - ACPI does not work

    I installed Ubuntu on my laptop, everythings ok, but ACPI does not work.I can't Hibernate, shutdown or see the State of the battery.When I boot, I get: 3.009333] managers:3.009376] c0277448 (acpi_irq + 0 x 0/0 x 28)3.009480] disabling IRQ #9 Can anyo

  • Repair of bootcamp after having extended the Windows partition

    Hallo I have a Mac with windows on it. I expand the partition for windows, first by spreading 10 GB of mac, I don't then open windows and look for the 10 GB he wanted, but could not open windows, the error occurring has been 'missing in operation. Wh

  • What better way to Bootcamp?

    I have the standard 2015 early Macbook Pro. All up to date with OS El Captian. Unfortunately, I have not upgraded the SSD (sorely regret). I now want to have bootcamp on my device for school work and games. So I was wondering is it better to move all

  • Photos on my email sent to me will not open not or show.

    My mail server is msn and I can't get the photos to open or view on emails that are sent to me.