harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r579305 - /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/core/AgentEventRequest.cpp
Date Tue, 25 Sep 2007 16:16:10 GMT
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;



Mime
View raw message