Fixes the bug where stepping out of a function would show the wrong
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 20:59:44 +0000 (20:59 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 20:59:44 +0000 (20:59 +0000)
commitd942084e3abe82d2408db2b9fef1e9c78027f100
tree2e7dc69da9fac61a090b15cad8db409c94b00fdc
parent6b32e07d27b397ca3b3f566f6261b5beb8adfd63
Fixes the bug where stepping out of a function would show the wrong
call stack (would look like it stepped out twice.)

Reviewed by Adam Roben.

* page/JavaScriptDebugServer.cpp:
(WebCore::JavaScriptDebugServer::returnEvent):
Call pauseIfNeeded before setting m_currentCallFrame to the caller.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/JavaScriptDebugServer.cpp