Debugger not halted on breakpoints

Hi,
I'm having a problem with the latest jdev 9.0.5.2. I'm trying to debug a struts-action on the embedded oc4j. My program works fine, but the execution is never halted.
I checked already the properties of the breakpoints, altered
the most preferences, etc. but the progran doesn't stop.
What am I doing wrong? Can anyone help me please?
thanks

I'm not too familiar with struts-actions, but I know about the debugger. Here are some things that could cause such a problem:
1. Make sure you are debugging and not just running.
2. Make sure you set the breakpont in code that will definitely be executed.
3. If you are using 3rd party jars or classes and you want to set a breakpoints in those classes, make sure that the classes have not been obfuscated or stripped. Some people/companies remove the source file and line number table attributes from classes before releasing them. The debugger's classes window will show obfuscated/stripped classes with a red circle and slash around the icon. The debugger can not stop at breakpoints or step in those classes.
4. Make sure that your own classes are not obfuscated.
-Liz

Similar Messages

  • [4.0 EA2] Debugger not stopping at breakpoints/not working at all

    When running the debugger in SQL Developer either the debugger immediately connects then disconnects after executing the code WITHOUT stopping at breakpoints or the debugger hangs and the only actions I can choose is to terminate or to pause.
    The first issue happens a lot more frequently. I am attempting to debug a procedure in a package where the there are several breakpoints throughout the code including at the very start. After checking my tables in which the procedure acts upon before and after running the debugger I can see that the data has been altered so the debugger has ran through the procedure and executed the code without stopping. I have checked this on very simple code where the breakpoint code has been called and have experienced the same result.
    Im using 64bit Win7 -
    JDK - 1.7.0 update 40
    Output:
    LOAD TIME : 329UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    Debugger Output:
    Connecting to the database Layout Pro.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '*****', '*****' )
    Debugger accepted connection from database on port *****.
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.DISCONNECT()
    Process exited.
    Disconnecting from the database Layout Pro.
    Debugger disconnected from database.
    Thanks in advance,
    James

    Hi
    Have you compiled for debug? - Yes
    Are the breakpoints definitely on code lines?- There are several lines of code which have up to 5 consecutive breakpoints
    You can also set the preference Tools|  Preferences|Debugger|Start Debugging Option to 'Step Into'.  That should stop at the first executable line. - This worked thank you, I can now access the debugger and test my work.
    On swapping the preferences back to 'Run Until a Breakpoint Occurs' (which it was originally set as) the debugger now correctly stops a the breakpoints. I didn't make any changes to the code/debugger parameters or anything so I'm rather confused to why its suddenly started working .
    But anyway thank you for the help,
    James

  • CS6 Debugger not at breakpoint

    This is really strange. The CS6 debugger would work as expected but now it does not settle at breakpoint. I have reduce the code to the simplest below.
    Debugger was working last time I used it.
    When I "Debug Movie->Flash professional", the breakpoint with yellow arrow does not come up on screen, It is still the red dot where I set the break point.
    However, if I step over it, the out does show the out "Hello there"
    I rebooted my PC and updated to Flash professional 12.0.2.529 to no avail. Does it have anything to do with file decompression (in Output message) ?
    Please Help !
    Thanks
    Sean
    import flash.display.*;
    import fl.events.*;
    breakpoint set here > trace("hello there");
    Output:
    Attempting to launch and connect to Player using URL C:\Users\seanyiu\AppData\Local\Temp\Untitled-1.swf
    [SWF] C:\Users\seanyiu\AppData\Local\Temp\Untitled-1.swf - 2071 bytes after decompression
    hello there
    Debug session terminated.

    I installed CS5.5 and the problem went away. Adobe folks should take note - CS6 has a very basic debugger bug.
    Thanks
    Sean

  • Sqldeveloper 4.0.0.13.18 debugger not works

    Afer update to sqldeveloper 4.0.0.13.18 debugger not works. All works fine in sqldeveloper 3 or previous version ov sqldeveloper 4.

    I am having a similar issue - debugging worked in 3.0 and not in 4.0.0.13 (I downloaded this today) or previous 4.0.0.12.84 versions.
    I create a few breakpoints, and I compile debug and run debug. I see this:
    Connecting to the database apps@gl23.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '167.100.165.229', '57385' )
    Debugger accepted connection from database on port 57385.
    The only icons enabled are the Terminate (Red Square), pause, and suspend all breakpoints icons on the debug window. It is just there and nothing is happening. I can't even close the SQLDeveloper tool after this. I have to terminate it from Task Manager.
    Regards,
    Venkat

  • My jdeveloper do not stop at breakpoint, please help me

    Hi,
    after my workstation got updating for windows office 2007, every thing become weird. right now my jdeveloper could not stop at breakpoints in java file when i debug my web application. please help me to get out from there. thanks
    lease send email to [email protected] thanks
    by the way, it stop at jsp file's breakpoint.
    Robert
    Edited by: user1853275 on May 19, 2009 3:59 PM

    hello,
    keep in mind that the build in debugger doesnt not find all statements valid and will step over some.
    never set a breakpoint on:
    try
    catch
    finally
    etc.
    I only set breakpoints on assignments and logic operators(if for etc) just to be sure.
    -Anton

  • I can not open the breakpoint dialog in upper right next to plus sign.

    EDIT: After more digging into the issue, I found out that the trick is to click AND HOLD on the upside triangle to access the breakpoint dialog box. See link --> Adobe Edge Reflow Team Blog | Q & A From “Talk To The Team”
    I can not open the breakpoint dialog in upper right next to plus sign. I click on the downward triangle with no success. Is there a trick to getting this to open? Or better yet, is there a hotkey?
    Thank you for your help-
    Shawn
    Message was edited by: Shawn Rossi

    Within Photoshop go to the "About Plug-in…" menu item just below "About Photoshop" to find the Camera Raw version number.  On which menu that is depends on your platform, Macintosh or Windows, which you neglected to mention.
    Raw files from your camera have been supported since version 2.0 of Camera Raw for years and years, so it's not a question of your version of ACR.  Any version of ACR that runs in CS5 should open those files.
    I suspect your raw files are damaged (corrupted).

  • Invoice Split @ VF06....not stopping at breakpoint applied in routines

    Hi All,
    This is regarding Invoice Split...from VF06 Tcode.
    We are trying to generate Invoice from Delivery  using VF06.
    But Invoice is splitting at item level.
    We tried to debug the routines for 003 & 007 as well for copy control..
    But while executing the Vf06 it is not stopping at breakpoint.....
    Please guide us how to get to the routine for debugging......
    If you have any other solution please let us know.
    Thanks
    RK

    VF06 runs in background (delegated to system) so the session break points you put in the data transfer routine won't hit.
    What you can do instead is put break point in the item data transfer routine (VTLF - item data transfer routine) and create a single invoice online using VF01. Then your break point will hit. Although this is not similar to Vf06, still you can find out which fields are being concatenated in VBRK-ZUKRI that is used as split criteria.
    Otherwise you can run the program SDBILLDL online. This program is run VF06 in background. So if you run it directly in SE38 in foreground your break points will hit, if you put them in correct data transfer routine

  • Debugger Not Stopping at Break Points

    Howdy folks,
    I am trying to debug a rule in which I checkout / modify / checkin a renameUser view. I set some break points at the invoke statements for checking out and checking in. The rule is called from my Update User workflow. I know the rule is executing because I am dumping the context to a text xml file. The break points are right before and after the invoke that dumps the context to xml. However, when I update someone the debugger is not breaking in and stopping the thread to let me step through it. I would really like to see why my checkin and checkout invokes are not working, but can't see the error message due to the debugger not stopping...
    Does anyone have any advice, clues or ideas to get the debugger to work more correctly?

    It's probably running anonymously. That was my issue I think. The break points don't work on anonymous execution. At least not for me. Now, you can specify to use anonymous break points.. But then it breaks at EVERY anonymous break point. I had a hard time stepping through them all to get to what I needed to see execute, before it would time out... good Luck...

  • STUPID BIOS (on 845PE Max2-R) does not halt on Key Errors! Future Vers

    The BIOS on my MSI MB (845PE Max2-R) does not halt on Key Errors, means it does not halt if there is no Keyboard detected. That's really STUPID - without any Keys, you not really able to do anything with the machine. And this feature cannot be setup in CMOS!  :( (Like in ASUS boards for example.)
    Jo

    You're right - absolutely  The only thing is, that BIOS should not only recognize a keyboard, but also recognize when there is none and in those cases stop hardware initialization procedures at POST screen.

  • Debugger not stopping at the breakpoint

    Hello all,
    I am running transaction F110(Automatic Payment Transactions). I follow the below process for Check Payments.
    Step - 1 : Put Run date and Identification.
    Step - 2 : Set Parameters
    Step - 3 : Set fields in the Additional Log Tab
    Step - 4 : Choose a Program variant for program RFFOUS_C in Printout/Data medium Tab.
    Now I have put a break point in the program RFFOUS_C. But when I run the Payment it does not stop at the breakpoint in the program RFFOUS_C.
    This program in turn calls a sap script which prints a check. I also tried activating the debugger for sap script.
    I dont know how to stop at the program. It goes to the spool and I can see the output in the spool request for the form i have created, but it does not stop at the breakpoint.
    Any ideas or suggestions ?
    Regards,
    Salil

    Run F110 all the way to where you create the payment run.  When doing the payment run, do not check "Print Immediatly". 
    After the run is complete, go to SE38 and run RFFOUS_C with your variant.  You will have to enter the Run Date and Payment ID on the RFFOUS_C selection screen.  Execute this program and you will hit your breakpoint.

  • FLEX debugger not hitting breakpoints, because Flash sometimes embeds source file paths with wrong letter case?

    I was trying to figure out why breakpoints were working fine for source files in some locations but not others.  FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting breakpoints in SOME files, but not others.
    I downloaded SWFInvestigator from Adobe Labs and checked the embedded debug paths for various source files to see what was going on.
    I discovered that files in which no breakpoints could be hit had their paths embedded in all lowercase (e.g. "c:\users\username\desktop\source\myproject" instead of "C:\Users\username\Desktop\source\MyProject").
    So I have two questions:
    First, is this a Flex debugger issue, or a FlashDevelop plugin issue? Letter case shouldn't matter or interfere with matching file paths in Windows.
    Second, what could possibly influence the letter case of embedded paths in a SWF output by Flash Professional (CS6), such that they are sometimes all lowercase and other times maintain the same case from the file system?  And why would that affect a debuggers ability to hit breakpoints in Windows 7?  I am compiling in multiple ways. Sometimes clicking Publish within Flash. Sometimes the file being published is not even open in Flash, and my JSFL script file is passed to Flash.exe containing embedded file paths to open the document. Usually, everything seems to work fine, no matter where I publish from, regardless of whether the FLA file is open or not. I'm honestly starting to believe that it depends on how the FLA was last opened in Flash Professional, as though it saves some sort of last access path internally and uses that to embed debug information.

    I don't think it's the source path in my case, because it's simply the dot ".", although I did check that because it would most likely influence the embedded paths.
    In the library path, I use relative paths exclusively, since all my individual project folders exist in the same "source" folder.
    Here's how I arrived at the conclusion that something more complex or "stateful" must be occuring:
    I publish my files with a one-click application, which does the following
    updates version timestamps (static constants) in specific files via regex match
    fills in a JSFL template with the FLA filename and writes the JSFL file to disk, then passes the JSFL file path to flash.exe for publication
    the JSFL then runs a command, which signals the main application via cross-process communication that the script has finished publishing
    That all makes it easy for me to update and publish multiple projects and deploy them, with a single click.  Here is the JSFL template I created, which has been drastically simplified since the days where it used to search to see if the file was open in Flash, select the document, and call publish.  Now it just uses the publishDocument method to silently publish files without opening them.
    var filepath = "FLAFILEPATH"; //template parameter: the URI (beginning with "file:///") of the FLA file to publish
    fl.publishDocument( filepath, "PUBLISHPROFILENAME" );
    FLfile.runCommandLine("COMPLETECOMMAND");
    The C# app replaces the strings in all caps with the actual values.  The COMPLETECOMMAND is actually populated with the application's own executable path, along with a "complete" switch, which lauches a 2nd instance, which handles the complete switch by broadcasting a signal over an interprocess channel and then terminates.  The main instance captures the signal, triggers a wait handle, and continues with publishing the next file.  Here is the core code for it:
    private string fillTemplate( string fla_directory, string fla_filename, string publish_profile_name )
        string fileuri = "file:///" + Path.Combine( fla_directory, fla_filename ).Replace( '\\','/' );
        return EmbeddedResources.OpenAndPublish //JSFL template file embedded as string resource
            .Replace( "FLAFILEPATH", HttpUtility.JavaScriptStringEncode( fileuri ) )
            .Replace("COMPLETECOMMAND", HttpUtility.JavaScriptStringEncode( "\"" + Application.ExecutablePath + "\"" + " -publishcomplete" )) //call self with -publishcomplete switch to signal main instance's publishCompleteSignal
            .Replace("PUBLISHPROFILENAME", HttpUtility.JavaScriptStringEncode( publish_profile_name ) );
    private static readonly string FLASH_PATH = @"C:\Program Files (x86)\Adobe\Adobe Flash CS6\Flash.exe";
    public void publish( string fla_directory, string fla_filename, string publish_profile_name )
        Program.publishCompleteSignal.Reset();
        string template = fillTemplate( fla_directory, fla_filename, publish_profile_name );
        string curdir = Environment.CurrentDirectory;
        string tempJSFLfilepath = Path.Combine( curdir, "temp_script.jsfl" );
        File.WriteAllText( tempJSFLfilepath, template );
        Process p = Process.Start( FLASH_PATH, tempJSFLfilepath );
        Program.publishCompleteSignal.WaitOne( 30000 ); //timeout after 30 seconds
    Here's where it gets interesting.  The FLAFILEPATH has ALWAYS been passed in as all lower case, yet this publication method has worked 99% of the time for hundreds of publish operations every day.  This applies to both the publication of the first SWC, which is referenced by the second published SWF (both were being published with lowercase paths), yet the paths for the main SWF were remaining in lowercase, while those in the referenced SWC were maintaining the correct case from the file system.
    So there may be any number of things going on here.  SWCs may be published differently than SWFs, such that SWCs always have the correct letter case for debug source files, regardless of how the source FLA project was opened.  Ensuring the path passed to publishDocument uses the right case definitely fixes the problem, but it doesn't explain why it usually worked, despite having always been passing a lowercase string.  The only variable I can think of in all of this is Windows itself or Flash, such as whether the document was open in Flash at the time the silent JSLF publishDocument command ran, and how that FLA was last opened (via shortcut, via "recent documents" in Flash, via recent documents in Windows.  It has to be something, even if it's something as obscure as how the folder path was last accessed in windows, although I strongly suspect it's just how (in terms of path case) the FLA was last opened in Flash.
    In any case, I'm happy that passing the right case to JSLF's publishDocument command fixes the problem, so I'm not going to spend any more time trying to figure out how opening the FLA in various ways could affect the embedded debug paths.  The only thing that should be done is to address how paths with the wrong case are handled when they do get embedded that way for whatever reason.  Perhaps the flex debugger should be updated to use case-insensitive matches in case-insensitive file systems, unless, perhaps, this is a FlashDevelop debugger issue after all.

  • IPhone proejct: XCode debugger will not stop on breakpoints

    I've got XCode 3.1.2 on OS X 10.5.5. I have an iPhone project that builds fine but the debugger will not hit any of the breakpoints I set. I've tried all the standard fixes that I find on the net:
    1. I've turned off 'Load Symbols Lazily' in XCode preferences
    2. My active config is Debug
    3. Optimization level is 0 in build settings
    4. I've cleaned all targets and rebuilt
    5. I use Build and Debug (as opposed to Build and Run)
    I thought I might have inadvertently tweaked settings on my project. So I created a new project and that one has the same problem.
    I'm hoping that I am missing something easy here. My debugger was working just a few days back but all of a sudden it has stopped.
    Thanjs in advance

    Occasionally I run into this problem, and it is still a mystery to me.. however, if I put a break in the appDidFinishLoading, or some other very early method, it always seems to work, and then the other breakpoints work too! I wish I understood why.
    michael

  • Debugger won't halt on Breakpoint in any project

    In my Cs6 Flash (I still use it because it supports TFL) the debugging function suddenly stopped working. Debugging mode will not be shown on breakpoints. Throwing an Error brings it up but breakpoints do nothing. I compared this in cc and there the breakpoints did still work.
    How could I find a solution to this?
    I saw another thread here with this question marked as answered but the answers didn't work for me.
    One thing I did before this stopped working tried to open a fla from recent files that I moved to another folder. Don't know is this has anything to do with it.

    And next day it doesn't halt on my breakpoints anymore.... very strange.
    Edit:
    Found out breakpoint does work when I add it while the swf is already running.

  • Debugger Not Always Stopping...

    Hello all.
    I am new to the Oracle/JDeveloper world, so I apologize if this is basic.
    We are using JDeveloper 9.0.3.10.35. The application is run through an applet as the starting point. The applicatiion runs fine.
    While using the debugger though, there are certain classes where the debugger will not stop. Even on simple System.out.println lines.
    While running the application in debug mode (yes I confirmed that), the System.out.println data is printed to the console (using Tomcat), but the debugger is not stopping at the breakpoint.
    The classes that don't work are our own classes that are built at runtime from XML files. These XML files have had their extensions changed to custom extensions depending on what action the file performs. Could this have something to do with it?
    Just looking for help in if I missed something in the setup of the project.
    Thanks In Advance

    It's probably running anonymously. That was my issue I think. The break points don't work on anonymous execution. At least not for me. Now, you can specify to use anonymous break points.. But then it breaks at EVERY anonymous break point. I had a hard time stepping through them all to get to what I needed to see execute, before it would time out... good Luck...

  • Debugger not debugging

    Unfortunately, I'm using XP professional (SP1). However, I had similar problems with 2000 SP2, which is why I'm posting.
    I have 9iDS R2 (Jdeveloper 9.0.2) and for some reason some of my files do not debug. I set a breakpoint on a valid Java line (as opposed to an HTML line) and the debugger doesn't stop. I've set breakpoints in other files in the same project and the breakpoints do work. Sometimes, the breakpoints work in the file after a reboot, but not always.
    My messages window has the following:
    C:\OraHome1\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port1259 -classpath C:\OraHome1\j2ee\home\oc4j.jar -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB com.evermind.server.OC4JServer -config C:\OraHome1\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    Debugger attempting to connect to local process.[waiting for the server to complete its initialization...]
    Debugger connected to local process.
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Target URL -- http://10.1.1.137:8989/reportstest/ReportParams.jsp
    It looks like it thinks things are working. ...
    Any ideas?
    THanks
    Jeff

    Hi Jeff,
    I don't think this is an OS problem, so (at least for now) don't worry about using Windows XP.
    If you were doing remote debugging with a stand-alone OC4J, I would suspect that there was some problem with the setup of OJSP and/or that OJSP was using a java compiler other than OJC (Oracle Java Compiler), for example: javac. Since you are doing local debugging with the embedded OC4J, we can eliminate those possiblities.
    You may have run into a bug in OJSP. As you may know, OJSP is responsible for converting the JSP to Java and then calling OJC to compile the java file. Part of this process includes putting lineinfo comments in the java file. OJC uses the lineinfo comments to build the line number tables when it produces the class files. The debugger then uses the line number tables to know what java code corresponds with what JSP lines.
    When the debugger doesn't stop at a breakpoint in a JSP (and the breakpoint is on an executable line), the problem is probably because the line number table was not generated correctly. Is it possible for you to send me the JSP? My email is [email protected]
    If it is not possible for you to send me the JSP, I would still like to investigate this problem. I can describe to you how to look at the lineinfo comments in the .java file.
    -Liz

Maybe you are looking for