You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/09/25 18:16:10 UTC

svn commit: r579305 - /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp

Author: gshimansky
Date: Tue Sep 25 09:16:09 2007
New Revision: 579305

URL: http://svn.apache.org/viewvc?rev=579305&view=rev
Log:
Applied fix for HARMONY-4823
[jdktools][jdwp] 2 jdtdebug tests fail with similar messages in EUT 3.2

The change should allow StepRequest to generate an event every time
it hits an area where line numbers are not available.


Modified:
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp?rev=579305&r1=579304&r2=579305&view=diff
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp (original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp Tue Sep 25 09:16:09 2007
@@ -317,13 +317,9 @@
         }
     } else { // currentCount == m_frameCount
         // check against line
-        if (m_size == JDWP_STEP_LINE && currentLine == m_lineNumber) {
+        if (m_size == JDWP_STEP_LINE && currentLine == m_lineNumber && currentLine != -1) {
             return false;
         }
-    }
-
-    if (m_size == JDWP_STEP_LINE && currentLine == -1) {
-        return false;
     }
 
     m_frameCount = currentCount;