3 * @author Nicolas VIVIEN
6 * @note CopyRight Nicolas VIVIEN
8 * @brief COD debug file parser
9 * RIM's JDE generates several files when you build a COD application.
10 * Indeed, with the COD files for the device, we have a ".debug" file.
11 * This file is usefull to debug an application from JVM.
12 * This tool is a parser to understand these ".debug" files.
14 * This tool is simply a test application.
17 * - 2009/08/01 : N. VIVIEN
21 * Copyright (C) 2009-2010, Nicolas VIVIEN
23 * This program is free software; you can redistribute it and/or modify
24 * it under the terms of the GNU General Public License as published by
25 * the Free Software Foundation; either version 2 of the License, or
26 * (at your option) any later version.
28 * This program is distributed in the hope that it will be useful,
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
32 * See the GNU General Public License in the COPYING file at the
33 * root directory of this project for more details.
43 #include <barry/barry.h>
47 using namespace Barry
;
50 int main(int argc
, char *argv
[], char *envp
[])
54 Barry::Init(true, &cout
);
56 JDG::DebugFileList list
;
58 JDG::SearchDebugFile(list
);
60 cout
<< _("List of debug files: ") << endl
;
66 JDG::LoadDebugInfo(list
, argv
[1], info
);