Repository: flex-sdk Updated Branches: refs/heads/develop 66f471601 -> 4e8e0fc6e
fix: Regression in fdb tool: commands using line number as the only argument fail, like: list 8 or break 8 Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4e8e0fc6 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4e8e0fc6 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4e8e0fc6 Branch: refs/heads/develop Commit: 4e8e0fc6ebae3f6c828c4080a3e73033d35f3352 Parents: 66f4716 Author: Frédéric THOMAS <ftho...@apache.org> Authored: Fri May 15 16:53:22 2015 +0100 Committer: Frédéric THOMAS <ftho...@apache.org> Committed: Fri May 15 16:53:22 2015 +0100 ---------------------------------------------------------------------- modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4e8e0fc6/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java ---------------------------------------------------------------------- diff --git a/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java b/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java index b086c63..5e9edf0 100644 --- a/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java +++ b/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java @@ -4281,6 +4281,9 @@ public class DebugCLI implements Runnable, SourceLocator { /* If the first character is 0-9 or '-', arg is assumed to be a line number. */ if (Character.isDigit(firstChar) || firstChar == '-') { line = parseLineNumber(arg); + + final FileLocation fileLocation = new FileLocation(m_activeIsolate, module, line, wasFunc); + fileLocations.add(fileLocation); } /* If the first character is a '#', what follows is assumed to be a file number. */