News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

(SLVD) SMALL ERROR in 10.05 version, using Ubuntu 12.04 LTS

Started by PavelMSTU, October 29, 2013, 01:16:07 PM

Previous topic - Next topic

PavelMSTU

I found little bug in 10.05 rev 0 version of Code::Blocks in Ubuntu 12.04 LTS (Standart Utinity).



Height of "Programm arguments" field is very small!!!
I think you must fix it like this:

(left picture -- now, right -- after fix)


___
Best regargs, Pavel.

P.S. I just want to debug my programm, transferred from Windows to Ubuntu by gdb in Code::Blocks :)

Jenna

Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

PavelMSTU

#2
Quote from: jens on October 29, 2013, 01:24:32 PM
Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

Hm... I install by apt-get in lastest LST version of Ubuntu (now this is 12.04).
apt-get say, that 10.05 of Code::Blocks is lastest version.

May be your repository need be update??

Jenna

Quote from: PavelMSTU on October 29, 2013, 01:44:00 PM
Quote from: jens on October 29, 2013, 01:24:32 PM
Switch to 12.11 or a nightly build.
I'm not absolutely sure if it works correct in 12.11 .

10.05  is more then 3 years old, and there will not be any updates to it.

Hm... I install by apt-get in lastest LST version of Ubuntu (now this is 12.04).
apt-get say, that 10.05 of Code::Blocks is lastest version.

May be your repository need be update??

It's not our repo, it's Ubuntu's repo.
So you have to bug them not us or switch to a nightly/daily repo like:
https://code.launchpad.net/~damien-moore/+archive/codeblocks
https://launchpad.net/~pasgui/+archive/ppa/

PavelMSTU

#4
Quote from: jens on October 29, 2013, 02:02:27 PM
It's not our repo, it's Ubuntu's repo.
So you have to bug them not us or switch to a nightly/daily repo like:
https://code.launchpad.net/~damien-moore/+archive/codeblocks
https://launchpad.net/~pasgui/+archive/ppa/

I install from your repo.... (https://code.launchpad.net/~damien-moore/+archive/codeblocks) All crashed.
Programm start and just crashed...

I write command in console: codeblocks --log-to-file codeblocks.log

Log here:
Quote from: codeblocks.log
Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 46 lexers
Loading lexer_f77
Loading lexer_make
Loading lexer_perl
Loading lexer_sql
Loading lexer_gm
Loading lexer_smalltalk
Loading lexer_latex
Loading lexer_pascal
Loading lexer_java
Loading lexer_lua
Loading lexer_squirrel
Loading lexer_haskell
Loading lexer_rc
Loading lexer_masm
Loading lexer_properties
Loading lexer_angelscript
Loading lexer_ruby
Loading lexer_matlab
Loading lexer_cg
Loading lexer_bash
Loading lexer_objc
Loading lexer_lisp
Loading lexer_vbscript
Loading lexer_cmake
Loading lexer_diff
Loading lexer_glsl
Loading lexer_css
Loading lexer_html
Loading lexer_OgreCompositor
Loading lexer_postscript
Loading lexer_OgreMaterial
Loading lexer_cpp
Loading lexer_A68k
Loading lexer_caml
Loading lexer_ada
Loading lexer_prg
Loading lexer_nsis
Loading lexer_hitasm
Loading lexer_d
Loading lexer_python
Loading lexer_fortran
Loading lexer_bibtex
Loading lexer_vhdl
Loading lexer_verilog
Loading lexer_xml
Loading lexer_batch
Configured 0 tools
Scanning for plugins in /home/guard/.codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/lib/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
Loaded 56 plugins
Loading:
EnvVars
HexEditor
EditorTweaks
cbDragScroll
HelpPlugin
SmartIndentXML
AutoVersioning
NassiShneidermanPlugin
Abbreviations
lib_finder
CodeCompletion
SymTab
SmartIndentHDL
SmartIndentLua
ProjectsImporter
Valgrind
DoxyBlocks
CodeSnippets
SmartIndentFortran
MouseSap
SpellChecker
SpellChecker: Thesaurus files '/usr/share/myspell/dicts/th_en_US.idx' not found!
SpellChecker: Loading '/usr/share/myspell/dicts/th_en_US_v2.idx' instead...
BrowseTracker
CppCheck
ThreadSearch
EditorConfig
FilesExtensionHandler
RegExTestbed
OpenFilesList
SmartIndentPython
Cscope
FileManager
IncrementalSearch
Debugger
CB_Koders
wxSmith
wxSmithMime
ToDoList
OccurrencesHighlighting
ScriptedWizard
ReopenEditor
HeaderFixup
wxSmithContribItems
BYOGames
SmartIndentPascal
Autosave
Cccc
Profiler
copystrings
AStylePlugin
cbKeyBinder
Exporter
Compiler

Also it write something to /tmp/codeblocks_dbgrpt-2628-20131030T111910/codeblocks.xml (download)

I think to use old version 10.04 of Code::Blocks in Ubuntu....

UPD This repo works correct: https://launchpad.net/~pasgui/+archive/ppa/

UPD2 And "Set program arguments" work correct! Thank you, jens!!

dmoore

The first repo should also work fine (mostly, but it is a real daily build so you are on the bleeding edge.) I think you were hit by the issue described here:

http://forums.next.codeblocks.org/index.php/topic,18329.msg125742.html#msg125742

The workaround is to start in safe mode, enable compiler plugin, accept all prompts, quit and restart. I suspect the problem is that the compiler plugin is trying to offer these prompts before the GUI is ready.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]