The debugger stops on a line randomly

The debugger seems to be stopping at a random line that doesn't have a breakpoint on this subject. I tried to create a breakpoint on this line then disconnected, and it always stops here. It does not have to report a bug or a crash, it stops just like if there is a breakpoint. There is another reason, the debugger can stop at a line of code? Is it possible to fix it other than to wait to resolve random? Thank you.

He solved. It turns out that sometimes breakpoints appear not in code view, and the only way to see and disable is to activate the display of the breakpoint.

Tags: Flash Builder

Similar Questions

  • How to stop the debugger?

    Yesterday, I used the debugger. Now everytime I try to inspect the code, I get the message "debugger is suspended." There is no breakpoint, I don't have a debugger break. How can he be stopped?
    (yes I googled and pressed every button..., I found no way)
    Thank you!

    guigs2 said

    In order to stop the debugger, try two things:

    1. Click Tools > Web Developer > and make sure that the debugger is not checked
    2. Toggle instead tools > click "Debugger" and click on the gear in the right corner and uncheck 'display at startup '.

    Thanks for your reply. The problem was not whether the debugger is visible or not. I want to use the debugger, it's great. I was simply not able to retire once he was running, then once started, I always got the message "Debugger is suspended" and could not inspect. It did not help to hide the debugger. He helped to close the tab, and then reopen the page in a new tab.

    Now, after a restart of Firefox, where it updated itself, I tried to reproduce the error, but it does not happen. So I guess that the last update fixed.

  • How do I know if the debugger is running, & stop (get an error)

    The debugger is running in the background? How can I stop it?

    LIST OF CONSOLE ERRORS

    28/07/14 05:26:59 core firefox (map: 0xf25e0a4) triggered DYLD shared region unnest for card: 0xf25e0a4, region 0x7fff81000000-> 0x7fff81200000. While it is not abnormal for debuggers, this increases the system memory footprint until the target ends.

    28/07/14 05:27:14 kernel for execution of data/stack not permitted: firefox [pid 22046] to the virtual address 0x1050d7000, the protections have been read-write

    28/07/14 05:27:15 core data/stack execution not allowed: firefox [pid 22046] to the virtual address 0x1050d9000, the protections have been read-write

    A new profile should experiment if it was one of the plugins or add ons, but in safe mode you will also tell it if its an add on.

    There is a crash of container plugin Note: https://support.mozilla.org/en-US/kb/What%20is%20plugin-container
    You can try to configure Shockwave Flash plugin to activate on the page you are testing on. Is this really what can be the cause of the lock upwards?

    Hanging scripts and unresponsive: Firefox crashes or does not - how to fix

  • Debugger stopped the unwanted

    Hello

    I am using the debugger in a web application with a lot of javescript, but he continues to stop, as I set break points a lot of places. How to stop I do that and only break where I have to say?

    Aparently my code was full of bugs, because disabling the "break on exception" has solved the problem.

  • Is there a way to stop the Mail to save each line of an email I write separately in the trash?

    Is there a way to stop the Mail to save each line of an e-mail message that I write and save it as a draft in the trash? It is a new behavior since I updated to El Capitan, and I can't find anything about this in the preferences or help.

    Hmm.  This seems odd.

    Specify it as an IMAP account.

    Check your MailPreferences behavior forMailBox > drafts

  • Can I edit in JDE when the Simulator is open? How to stop the debugger there tie in the Simulator?

    I see the output in the Simulator and I want to have changes in the code. To do this, I have to close the Simulator and the fact of the change in JDE. Y at - it an option for edit in JDE when Simulator works and we see the output changed in the open Simulator?

    And also how to stop the debugger's tie when the Simulator is on the way? It takes too long to launch the simulator when the debugger is attached.

    Thanks for any help.

    Simulator for stand-alone use.

    Build the project in jde and transfer all the cod files in stand-alone Simulator folder.

    And after that start the standalone trainer.

  • JDE 4.7 debugger stops is no longer at the breakpoints

    Anyone has an idea why my debugger stops is no longer at a time of break I put ANYWHERE?

    Do a 'clean' and rebild enforcement to ensure that the COD file is copied to the Simulator.

    If it does not, run "clean.bat" in the Simulator directory and try again.

  • How to get rid of the or at least easily fix random Position A to position B "archs"? (like in a straight line)

    Hey,.

    I hope that I can describe it correctly my question: is there a way to tell after effects I want by default at each change in position to be a path of access/arch right (I'm looking for a lack of 'arch' - in fact I have just a straight line) instead of the default value in a seemingly random way arch so I find very tedious or impossible to fix even by manipulating vertice box "weapons" while now alt? in other words, I can program who, in the future, 'position A' and ' B ' must be traveled between in a straight line ONLY, never of erronious archs? I hope I described well enough without being too familiar with the technical terms

    Thank you

    Rick point you in the right direction.

    Details are here:

    http://help.Adobe.com/en_US/AfterEffects/CS/using/WS3878526689cb91655866c1103906c6dea-7d99 a.html #WS3878526689cb91655866c1103906c6dea-7d98a

  • Unusual behavior with the debugger of the SQL Developer

    Hello everyone,

    I've recently updated to Developer SQL 3.2.10.09 and I noticed unusual behavior during debugging. I can't confirm that this behavior started because of the update, but that's just a guess at the moment. I'll explain what's going on...

    I have a package and spec (both compiled for debugging) I want to scroll. I make a point to stop where I want to put an end to the execution and everything stops as expected at this time there... or what it looks like. The performance indicator is actually the line after where the process stopped in fact. Here is an example.
    ndxEmpl           PLS_INTEGER := 1;
    ndxNewFac        PLS_INTEGER := 1;
    ndxAdid           PLS_INTEGER := 1;
    ndxStdn           PLS_INTEGER := 1;
    ndxNonComp       PLS_INTEGER := 1;
    Say I put the breakpoint on line 3 of the code above. The execution point watch line three has been highlighted to indicate that it is the next line should be run, but when I mouse over ndxNewFac in both, he line shows its value to null. Then I switch to line 4 and ndxNewFac is now list 1, but ndxAdid is null.

    It is really interesting when you arrive if statements or many transport returns in the code, because the execution point will actually bring out a blank line when execution is still a stingray above.

    I reinstalled the JDK from my office and used previous versions of SQL Developer all with the same results in the end. I also used the computers of some colleagues on the same package and their debugging behaves normally. I have not tried the debugger on an anonymous block or another package yet, but I thought I'd throw this question here. I will reply with my findings.

    Everyone has experienced identical to this behavior? I'll capture some screenshots if the scenario above is not clear.

    Published by: gort_industries on Sep 28, 2012 08:28

    Published by: gort_industries on Sep 28, 2012 10:44

    There was an old problem where the debug line numbers didn't explain correctly additional "create or replace" added to the top. I thought that this had been fixed some time ago.

  • In the browser toolbar buttons Firefox moves randomly

    Sometimes the toolbar buttons (home, back, forward, etc.) when I open Firefox browser moves randomly in the navigation toolbar. After manually adding the buttons/change of position things work our fine for a while, but at some point, this happens again after opening a browser window.

    Usually, it's the same 'bad' position that appears: the Back and Foward buttons remain in place but Home button has been moved to the right of the address and the search box area while refresh and Stop buttons disappeared.

    What is the problem? Add - ons? Plugins? Something else?

    Looks like a problem with the localstore.rdf file in the Firefox profile folder.

    You have (security) software that can protect and restore an old copy of this file?

    Note that the default of the home button position is at the far right of the Navigation bar and the Reload/Stop/Go handset button is positioned on the side of the right end of the address bar where you have also the star to bookmark web pages.

    See also:

  • A key using self-powered USB causes the base station go "off-line".

    I found that by using a USB drive self-powered, as the WD My Passport, without a USB powered, hub attached to the base of the station USB port has caused the base station go "off-line". In fact, using a powered hub does not always remedy the situation, but it is more reproducible without one.

    This is true for the AirPort Extreme and Time Capsule 802.11ac. The problem does not occur immediately, but it may happen over several days. The symptom is that the player is no longer lies in the Finder, or the base station appears in AirPort Utility.

    My question is if others have had the same results? ... and did you find permanent solutions?

    USB key "seems" less reliable on the airports of AC model than on previous versions.

    I tend to not use USB attached to routers because I think it's convenient mediocre and poor speeds. But I tested with previous models, and it seems ok...

    KT those a few posts here a me trial there. These are not self powered readers... who I have long recommended people avoid the use (without a powered hub)...

    Re: External backup drive down regularly

    In fact, the wire is different from what I remember... Age don't you know.

    But I did the test on an AC TC. The result has been very reliable. He did not cause the TC to close... but I lost the connection of the USB almost every day... except for a trial where I kept the USB drive mounted in the Finder... so that the USB drive wouldn't turn it down. He then worked for a few weeks... until what the noise of rotation of disk (sitting next to me) drove me crazy... as soon as he was mounted is more, he would pass the same existence as before.

    The previous model TC was barely big enough for the internal use of the power supply units. So powered car running disc was impossible.

    Provide EI (GEN 1-5) at 1. 8A and 12v was adequate, but the standard USB port is estimated at 500 my wrong to manage disks free power.

    You would certainly think AC 12v 5A power supply models would have a lot of power. Yet, power problems are a major problem still. Supply is extremely sensitive and stop easily for reasons I'm still to understand.

    Where the long threads on power issues to the AE.

    Now, I'm going to speculate... I think that SOME problems are associated with power.

    What is the USB port side in airports of AC? Is it still 500ma? Apple never seem to give easy to find info on these details.

    Do you know? I haven't measured it, but I can try timing the time it takes to charge a phone.  Assuming that it will immediately trigger.

    Then he will have problems with a self-powered drive. Even if the drive has less energy than quotes, current during starting is much higher. The restriction of the power on the USB port is managed by a self regulator recovery... Once you triggered it, you must stop the power... then reboot the machine to restore power.

    Then, I also did the test with hub powered... and like your results... It was better. Longer time between the drive disappears from the network. But it was not enough to stop it.

    There is another interesting effect using self-powered hubs... I discovered this on a computer running Mac OS lets say! The computer would not start with a powered hub connected to the front USB. Hubs self-powered cheap, showing a defect in their design. They can refer to the USB port. In this computer, it was enough to stumble on the good power circuit and prevent the supply, commissioning... As long as the computer is running, everything was fine... but if I turned off it would not start. I finally woke up I had to exit the USB every time. At one point, I made a "special" Cup USB cable 5v line so the hub can stay connected. You can probably just to isolate the 5v of contact in the USB. Regardless of the configuration of power USB in the AE or TC is as you can assume she's sensitive enough... and at any time when the 5V on USB hub exceeds the 5V in AE it could trigger.

    The symptom is that the player is no longer lies in the Finder, or the base station appears in AirPort Utility.

    Endangered of AU base station is not uncommon.

    It responds to the pings? I guess he still has lights but is he blocked? You still get internet through it?

    Try to open it manually in to THE... use of the file / configure from others and put the IP address of EI.

    Talk with me by e-mail... It is open in the profile.

  • Satellite A30: when the adapter is connected the battery stops charging

    Using a Satellite A30 about three years. Recent problem is that while the power adapter is plugged the battery stops in charge, the orange battery indicator turns off.

    If you look at the power management utility battery poweer bed On Line, % of discharge meter

    So he can load either, I have to turn the machine off (completely or to hibernate) then remove the power cable and reintegrate them, then the battery light turns on. When restart the battery will begin charging for a while, and then for no apparent reason in defence start.

    If left reaches 0% battery - the machine continues to operate when the power cable is connected so its power do ok, but of course starts to beep when it goes below 10%. To get it going again, I need to stop and restart etc.

    I have checked the bios and have the latest version.

    I cleaned around the outlet heat exchanger and deleted all the fluff.

    I use a generic adapter that the original does not, but as far as I can tell its working normally.

    All thoughts

    Richard

    Hi Richard,

    Your problem is caused by a bad connection where the power adapter is connected to the Jack at the back of your laptop. A slight movement of the cable causes a momentary loss of contact and electronics of management power in Notepad is deceived into beleiving that the battery is no longer available, in which case when the battery goes out and the laptop will return to the battery power even if the AC adapter is connected. As you have already discovered, turn off the laptop will be all back to normal.

    I have experienced the same situation with my A30-141 and have not yet found one solution other than to resort to power off the laptop computer, but I managed to avoid the problem occurs by pinching the cable ca at the back of the laptop so that there is no risk of power do not connect the bending in order to trigger the problem in the first place. This has been a remarkable success to date, and I didn't have a problem for several months now.

    Obviously, it is not a "cure" for the problem but the frustration it causes.

    Kind regards

  • Help! my Windows media player plays my AVI files but stops and closes at random!

    my Windows media player plays my AVI files but stops and closes at random after about 20 minutes... its only recently started to do this in the last week or 2?

    Hello

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

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

    After the above - your codec may be damaged or need to be modernised.

    Determine if 32 or 64 bits.

    Start - type in the search box-> Winver find upstairs and double-click on - check version (64-bit will tell 64bits)

    After that the foregoing, add codec - get these 32 bit if:

    -Free - CCCP also get free tool of insurgents
    http://CCCP-project.NET/
    http://www.freewaregenius.com/2007/02/09/CCCP-codec-pack/

    FFDSHOW - free
    http://sourceforge.NET/projects/ffdshow/

    Check here:

    Plug-ins for Windows Media Player
    http://www.Microsoft.com/windows/windowsmedia/player/plugins.aspx

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

    If 64-bit:

    Read this 1st and go that route, or use the one below.

    http://www.Vistax64.com/sound-audio/152850-Vista-codec-pack-32bit-64bit-Media-Player-codecs.html

    --------------------------------------------------------------------

    If 64-bit Vista - can run WMP in 32 or 64 bit mode.

    Or try these: download - SAVE - go to the place where your put them RIGHT CLICK – RUN AS ADMIN.

    For 32-bit use these - OR those listed above that I prefer.

    K - Lite Codec Pack 5.0.5 & K-Lite Codec Pack 5.0.5 update
    http://www.codecguide.com/

    Use them for 64-bit:

    K - Lite Codec Pack (64-bit) 2.6.0
    http://www.codecguide.com/

    -------------------------------------------------------------

    You know that you use WMP 32 or 64

    Change, change or set 64 - Bit Windows Media Player 11 (WMP11) in Windows Vista x 64 as default
    http://www.mydigitallife.info/2007/01/19/switch-change-or-set-64-bit-Windows-Media-Player-11-WMP11-in-Windows-Vista-x64-as-default/

    ------------------------------------------------------------

    VLC needs, of no use so usually Codec as a backup when asked to support associations of files just say no.

    VLC - free
    http://www.videolan.org/VLC/

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Access controlled in the debugger exception

    I get a ControlledAccessException in the debugger, but not in the simulator when it is running normally.

    public class clickmailscreen extends screen implements {FieldChangeListener}
           
    Reviews [ServiceRecord];
           
    HorizontalFieldManager Nachman = new HorizontalFieldManager();
    public static String leader;
    Attachment = new EditField EditField ("attachment:", file);
    Arrow bitmap = Bitmap.getBitmapResource("com/clickmail/res/login_arrow.png");
    VMan VerticalFieldManager = new VerticalFieldManager();
    CustomLabelField titleLabel.
    String FromName;
    Player;
           
    From LabelField = new LabelField ("of :"); ")
           
    EmailAddressEditField emailAddress = new EmailAddressEditField ("to:", "");
    Subject of EditField = new EditField ("object :","");
    EditField body = new EditField("","");
    XYEdges padding = new XYEdges (15, 15, 15, 15);

    At the border roundedBorder = BorderFactory.createRoundedBorder (padding,
    Color.BLACK, Border.STYLE_SOLID);
    ButtonField sending is new ButtonField ("send", ButtonField.CONSUME_CLICK);.
    ButtonField attach = new ButtonField ("set", ButtonField.CONSUME_CLICK);

    public ClickMailScreen() {}
    getAccount();
    final String txt = "to:"+ fromName;»
    UiApplication.getUiApplication () .invokeAndWait (new Runnable() {}
    public void run() {}
    from.setText (txt);
    }
    });
                     
    body.setBorder (roundedBorder);
           
    send.setChangeListener (this);
    attach.setChangeListener (this);
    vMan.add (new CustomLabelField ("Click on Mail" Color.WHITE, Color.BLACK, arrow, USE_ALL_WIDTH));
    vMan.add (from);
    vMan.add (emailAddress);
    vMan.add (subject);
    vMan.add (attachment);
    vMan.add (new SeparatorField());
    hMan.add (send);
    hMan.add (attach);
    vMan.add (body);
    vMan.add (can);
    Add (vMan);
           
    }
           
    public void getAccount() {}
    Full book book = ServiceBook.getSB ();
    reviews = book.findRecordsByCid("CMIME");
    If (records! = null)
    {
    for (int i = 0; i)< records.length;="">
    {
    ServiceRecord record = records [i];
    String name = record.getName ();
    type int = record.getType ();
    Dim description As String = record.getDescription ();
    Check to see if you want to use this account. If Yes...
    ServiceConfiguration config = new ServiceConfiguration (record);
    EmailSession session = Session.getDefaultInstance (config);
    fromName = emailSession.getServiceConfiguration () .getEmailAddress () m:System.NET.SocketAddress.ToString ();
                     
    }
    }
    }
           
    public void sendMail() {}
    Several multipart part = new Multipart();
    Message NewMsg = new Message();
    data Byte [] = readFile();
                           
    SupportedAttachmentPart attach = new SupportedAttachmentPart (multipart,
    "application/x-example", files, data);
    multipart.addBodyPart (attach);
    try {}
    Beneficiary address [] = null;
    recipient [0] = new Address (emailAddress.getText (), null);
    newMsg.addRecipients (Message.RecipientType.TO, container);
    newMsg.setSubject (subject.getText ());
                                   
    newMsg.setContent (body.getText ());
    newMsg.setContent (multipart);
    Transport.Send (newMsg);
    }
    catch (MessagingException e)
    {
    Generative TODO catch block
    e.printStackTrace ();
    }
           
    }
                   
    private static ubyte [] readFile() {}
    String fName = file;
    data Byte [] = null;
    FileConnection fconn = null;
    DataInputStream is = null;
    try {}
    fconn = (FileConnection) Connector.open (fName, Connector.READ_WRITE);
    is = fconn.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    } catch (IOException e) {}
    System.out.println (e.getMessage ());
    } {Finally
    try {}
    If (null! = is)
                    
    is. Close();
    If (null! = fconn)
    fconn. Close();
    } catch (IOException e) {}
    System.out.println (e.getMessage ());
    }
    }
    return data;
    }
                   
    protected void makeMenu (menu Menu, for example int) {}
    super.makeMenu (menu, for example);
    menu. Add (new MenuItem ("attachment", 10, 10) {})
    public void run() {}
    Fix fix = new Attach();
    attach.pickFile ();
    String dittos = attach.getFile ();
    If (dittos is nothing)
    {
    Dialog.Alert ("screen was rejected. No file has been selected. ») ;
    }
    on the other
    {
    Dialog.Alert ("selected file:" + file);
    file = dittos;
    attachment.setText (file);
    }
    }
    });
                  
    }
           
    public void keystroke() {}
    try {}
    InputStream is = getClass () .getResourceAsStream ("keystroke.wav");
    Create an instance of the reader of the InputStream
    Player is Manager.createPlayer (that is, "audio/wav");.
    Player.Start ();
    } catch (IOException e) {}
    System.out.println ("error creating player");
    } catch (MediaException e) {}
    System.out.println ("error media type");
    }
    }
           
    {} protected Boolean keyChar (character char, int status, int time)
    Keystroke();
    Return super.keyChar (character, status, time);
    }

    ' Public Sub fieldChanged (field field, int context) {}
    if(Field == Send) {}
    sendMail();
    }
    if(Field == Attach) {}
    }
    }
     class Tie extends PopupScreen {}

    public

    LabelField label = new LabelField();

    String _currentPath; The current path;

    String [] _extensions; Extensions of files to filter.

    ObjectListField _olf; The fields of lists and directories.

    public Attach() {}

    ce (null,null);

    }

    public Attach (String startPath, String [] extensions) {}

    Super (new DialogFieldManager());

    _Extensions = extensions;

    prepScreen (startPath);

    }

    public void pickFile() {}

    UiApplication.getUiApplication () .pushModalScreen (this);

    }

    public String getFile() {}

    Return _currentPath;

    }

    private void prepScreen (String path) {}

    DFM DialogFieldManager = (DialogFieldManager) getDelegate ();

    dfm.setIcon (new BitmapField (Bitmap.getPredefinedBitmap (Bitmap.QUESTION)));

    dfm.setMessage (new RichTextField ("Select a file"));

    _olf = new ObjectListField();

    dfm.addCustomField (_olf);

    updateList (path);

    }

    private Vector readFiles (String path) {}

    Enumeration fileEnum;

    Vector filesVector = new Vector();

    _currentPath = path;

    if (path is Nothing) {//Read the file system root.

    fileEnum = FileSystemRegistry.listRoots ();

    while (fileEnum.hasMoreElements ()) {

    filesVector.addElement ((Object) fileEnum.nextElement ());

    }

    }else{}

    Read the files and directories for the current path.

    Try

    {

    FileConnection fc = (FileConnection) Connector.open ("file:///" + path);

    fileEnum = fc.list ();

    String currentFile;

    while (fileEnum.hasMoreElements ())

    {

    Use the file extension filter, if there is one.

    if (_extensions is Nothing)

    {

    filesVector.addElement ((Object) fileEnum.nextElement ());

    }

    on the other

    {

    currentFile = ((String) fileEnum.nextElement ());

    if (currentFile.lastIndexOf('/') is

    (currentFile.length () - 1))

    {

    Add all the directories.

    filesVector.addElement ((Object) currentFile);

    }

    on the other

    {

    It is a file. Check if its

    extension matches the filter.

    for (int count = _extensions.length - 1;)

    count > = 0; -count)

    {

    if (currentFile.indexOf (_extensions [count])! = - 1).

    {

    There was a game, add the file and

    stop a loop.

    filesVector.addElement ((Object)

    currentFile);

    Break;

    }

    }

    }

    }

    }

    }

    catch (Exception ex)

    {

    Dialog.Alert ("Unable to open folder." + ex.toString ());

    }

    }

    Return filesVector;

    }

    private void doSelection() {}

    Determine the current path.

    String path = buildPath();

    if (path is Nothing)

    {

    Just to refresh the screen if you have selected a directory.

    updateList (path);

    }

    else if (! thePath.equals("*?*"))

    {

    Just to refresh the screen if you have selected a directory.

    A second check is needed here to avoid

    a NullPointerException.

    updateList (path);

    }

    on the other

    {

    The user has selected a file.

    Close the form.

    this. close();

    }

    }

    private Sub updateList (String path) {}

    Read all files and directories in the path.

    List of vector files = readFiles (path);

    Create a table of the vector.

    Object [] fileArray = vectorToArray (fileList);

    Update the field with the new files.

    _olf. Set (fileArray);

    }

    private String buildPath() {}

    String newPath = (String) _olf.get (_olf, _olf.getSelectedIndex ());

    if (newPath.equals(".."))

    {

    Go up a directory.

    Remove the trailing ' / ';.

    newPath = _currentPath.substring (0, _currentPath.length () - 2);

    Delete everything after the last ' / ' (the current directory).

    If a ' / ' is not found, the user open it

    file system roots.

    Returns the value null because of the screen show the

    file system roots.

    int lastSlash = newPath.lastIndexOf('/');

    if (lastSlash == - 1).

    {

    newPath = null;

    }

    else {

    newPath = newPath.substring (0, lastSlash + 1);

    }

    }

    else if (newPath.lastIndexOf('/') is (newPath.length () - 1))

    {

    If the path ends by /, a directory has been selected.

    The prefix of the _currentPath if it is not null (not in the)

    Root directory).

    if (_currentPath! = null)

    {

    newPath = _currentPath + newPath;

    }

    }

    else {

    A file has been selected.

    _currentPath += newPath;

    Return *? * to stop the process of editing screen.

    newPath = ' *? * » ;

    }

    return newPath;

    }

    private Object [] vectorToArray (Vector filesVector) {}

    int filesCount = filesVector.size ();

    int dotIncrementor;

    Object [] files.

    If not in the root, add ".." to the top of the table.

    if (_currentPath is Nothing)

    {

    dotIncrementor = 0;

    files = new Object [(filesCount)];

    }else{}

    dotIncrementor = 1;

    files = new Object [(filesCount + dotIncrementor)];

    Add... on top to return to a directory.

    the files [0] = (Object)("..");

    }

    for (int count = 0; count< filescount;="">

    {

    Files [count + dotIncrementor] = (Object) filesVector.elementAt (count);

    }

    return files;

    }

    Manage trackball clicks.

    protected Boolean navigationClick (int status, int time)

    {

    doSelection();

    return true;

    }

    protected keyChar Boolean (char c, int status, int time)

    {

    Close this screen if the exhaust is selected.

    if (c is Characters.ESCAPE)

    {

    _currentPath = null;

    this. close();

    return true;

    }

    else if (c is Characters.ENTER)

    {

    doSelection();

    return true;

    }

    return Super.keyChar (c, status, time);

    }

    }

    Any ideas?

    I certify that the Installer fixed this problem of cleaning. It was strange to see this error on the sim card.

  • Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    This occurs when calling a ref cursor-returning packaged function stored with OracleCommand.BindByName set to true.

    When BindByName undefined, it works as expected.

    I've only been able to recreate this problem on a machine in my control. This issue has also reported to me by a customer.

    I tried to change the locale of the system of EN - UK EN-US, but I was not aware of any change in behavior.

    Similarly, I've tried explicitly overriding the default locale of the system with the OracleGlobalization parameters, and it also had no effect.

    Please see the example below.

    ---

    Environment (default):

    Windows 7 Professional 64-bit SP1

    Visual Studio 12.0.21005.1 REL / / CAN BE SIGNIFICANT

    .NET framework 4.5.51209

    Local system: EN - UK (but also does not, EN-US).

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Environment (base):

    Windows 7 Professional 64-bit SP1

    Updated Visual Studio 12.0.31101.00 //SEE above 4

    .NET framework 4.5.51209

    Local system: EN - UK

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Call stack:

    mscorlib.dll. Unknown System.Number.StringToNumber(string str, System.Globalization.NumberStyles options, ref System.Number.NumberBuffer number, System.Globalization.NumberFormatInfo info, bool parseDecimal)
    mscorlib.dll. Unknown System.Number.ParseInt32(string s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Types.OracleRefCursor.OracleRefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.ServiceObjects.OracleRefCursorImpl refCursorImpl, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long initialLongFS, long initialLobFS, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.ExtractRefCursorFromAccessor (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution, int currentRow) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.GetRefCursorFromBytes unknown (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleParameter.PostBind_RefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.TTC.Accessors.Accessor bindAccessor, long fetchSize, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleCommandImpl.ExtractAccessorValuesIntoParam (Oracle.ManagedDataAccess.Client.OracleParameterCollection paramColl, Oracle.ManagedDataAccess.Client.OracleConnection connection, string commandText, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! Unknown Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(bool requery, bool fillRequest, System.Data.CommandBehavior behavior)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader (unknown)

    > ManagedSimpleRefCursor1.exe! NoddyConsole.Program.Command_ExecuteReader_BindByName_Fails (Line 63 c#)

    Example:

    ----

    using System;

    using System.Collections.Generic;

    using System.Linq;

    using System.Text;

    using Oracle.ManagedDataAccess.Client;

    using Oracle.ManagedDataAccess.Types;

    using System.Data;

    namespace NoddyConsole

    {

    public class Program

    {

    public static int Main (string [] args)

    {

    Error int = 0;

    Errors += Command_ExecuteReader_BindByName_Fails();

    Errors += UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails();

    return errors;

    }

    public static int Command_ExecuteReader_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    var conn = new OracleConnection ("user Id = UNIT620; Password = UNIT620; ("Data Source = / / ln1apidb01:1521 / fm");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    cmd.CommandType = CommandType.Text;

    BindByName. cmd = true;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader(); FAILS to System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    /* *-/

    OracleRefCursor orc = null;

    cmd ExecuteNonQuery()); must fail here

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    /* */

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    public static int UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    BindByName. cmd = true; // ####

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_2; END; « ; No params, works

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader();

    OracleRefCursor orc = null;

    HERE does NOT cmd. BindByName = true; System.FormatException first-chance exception in at System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    cmd ExecuteNonQuery());

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    ORC. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    }

    }

    ---

    create or replace package THAT SHAUN is

    type ref_cur_type is ref cursor;

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type;

    end SHAUN;

    /

    create or replace package body what SHAUN

    -TTS000233

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type is ref_cur ref_cur_type;

    Start

    Open the ref_cur for

    Select UO.object_name from user_objects UO;

    Return ref_cur;

    end recreate_issue_1;

    end SHAUN;

    /

    ---

    Thanks a lot to qualify again for me Alex.  I'll try upgrading to the latest version of the provider.

    The difference in behavior between the two hosts was found to be reduced to differences in configuration VS.

    Checking 'Just my code' prevents the first chance thrown in the debugger exception. As in fact, the exception is handled in the provider, it is enough for me.

Maybe you are looking for