From 1b7e03a8a1ad34a461b6403b109016660f0babfd Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Mon, 18 Mar 2013 15:16:25 -0400 Subject: [PATCH] nitdbg: Added module and class Breakpoint Signed-off-by: Lucas BAJOLET --- src/breakpoint.nit | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/breakpoint.nit diff --git a/src/breakpoint.nit b/src/breakpoint.nit new file mode 100644 index 0000000..b2d1aef --- /dev/null +++ b/src/breakpoint.nit @@ -0,0 +1,33 @@ +# This file is part of NIT ( http://www.nitlanguage.org ). +# +# Copyright 2013 Lucas Bajolet +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Classes and methods relative to the management of Breakpoints for the Debugger +module breakpoint + +# Contains all the informations of a Breakpoint for the Debugger +class Breakpoint + + var line: Int + + var file: String + + init(line: Int, file: String) + do + self.line = line + self.file = file + end + +end -- 1.7.9.5