Cannot Find New Threads Generic Error Lazarus
Contents |
[ author ] On Sat, 1 Jun 2013, Ludo thread debugging using libthread_db enabled gdb Brands wrote: > On 06/01/2013 10:34 AM, Michael Van Canneyt gdb libthread_db wrote: >> >> Hello, >> >> I am using the latest lazarus, and I
Unable To Find Libthread_db Matching Inferior's Thread Library
start getting the error: >> >> Cannot find new threads: generic error >> >> Looking for this message on internet I find that I
Cannot Execute This Command While The Selected Thread Is Running.
can specify to gdb >> which threading library to use, using a command similar to >> >> set env LD_PRELOAD /lib/x86_64-linux-gnu/libpthread.so.0 >> >> (the exact value depends on the system you use) >> >> I put this in my .gdbinit, so it would be used always, but now I find that >> this file is not being read because Lazarus specifies -nx to gdb. >> >> How can I solve this ? >> >> Quite a bummer if you can't debug during a FPC hackathon :( >> >> Michael. >> > > in tools/debugger/general enter > > -ex "set env LD_PRELOAD /lib/x86_64-linux-gnu/libpthread.so.0 " That does the trick! I also found it works correctly if I add {$linklib pthread} to the program clause. > > in Debugger_Startup_Options. > > Happy hacking;) Thanks. The hackathon is proving to be productive ! (The new TSQLStatement component for sqldb is now a fact, some more tests, and I wil commit) Michael. Previous message: [Lazarus] GDB and threads Next message: [Lazarus] GDB and threads Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Lazarus mailing list
[ date ] [ thread ] [ subject ] [ author ] Hello, I am using the latest lazarus, and I start getting the error: Cannot find new threads: http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-June/081584.html generic error Looking for this message on internet I find that I can specify to gdb which threading library to use, using a command similar to set env LD_PRELOAD /lib/x86_64-linux-gnu/libpthread.so.0 (the exact http://lists.lazarus-ide.org/pipermail/lazarus/2013-June/146525.html value depends on the system you use) I put this in my .gdbinit, so it would be used always, but now I find that this file is not being read because Lazarus specifies -nx to gdb. How can I solve this ? Quite a bummer if you can't debug during a FPC hackathon :( Michael. Previous message (by thread): [Lazarus] New competition for Lazarus Next message (by thread): [Lazarus] GDB and threads Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Lazarus mailing list
пароль Регистрация Регистрация Тесты Блоги Сообщество Поиск Ссылки сообщества Социальные группы Поиск Google по форуму Поиск Yandex по форуму Поиск по форуму Расширенный поиск Тесты Список тестов К странице... Другие http://www.cyberforum.ru/post5877466.html темы раздела Lazarus Очистить массив record http://www.cyberforum.ru/lazarus/thread932110.htmlЗдравствуйте :) Очередной ламерский вопрос у меня объявлен Р тип record, и в ней десяток типов вперемешку, double, integer, TDate, boolean объявлен массив Х этих record, соответственно, в ходе работы благополучно заполнен всякой шнягой :) а теперь вопрос - как это добро все быстренько очистить и начать заново? сбросить все эти разные типы - TDate, boolean cannot find и числовые так, как они были... Lazarus Как покрасить 4 квадратов Здравствуйте все.Значить у меня такая задача. Форма с 12 CheckBox-a, 8 переменнах и 4 квадрата. Если нажат 1-й скажем CheckBox1, тогда к переменная 1 надо добавить 1, если нажат 2-й CheckBox2, то к переменная 2 и 3 надо добавить скажем 3 и так дале. В конце если первая переменна скажем cannot find new менше чем 3 должен менят цвет квадрат1 скажен из белъй на красний. Помогите как с етим справится. Спосибо за... http://www.cyberforum.ru/lazarus/thread931439.html Lazarus Данные перечислимого типав программе сделал так unit1 type frezy=(conus, cilindr, sfera); var Form1: TForm1; TipInstrumenta:frezy; unit2 procedure TVyborTipaInstrymenta.cilindrClick(Sender: TObject); begin настройка gdb в Lazarus LazarusПытаюсь запустить проект http://andru-kun.inf.ua/articles/linux_opengl_fpc/demo02.tar.bz2 из под Lazarus с отладчиком. gdb выдает ошибку: Cannot find new threads: generic error Поискал в сети, встречается такая проблема: http://stackoverflow.com/questions/2702628/gdb-cannot-find-new-threads-generic-error И вроде описано решение, но не могу понять где и как его в lazarus прописать.... Lazarus Ошибка gdb: unable to read jit descriptor from remote memory http://www.cyberforum.ru/lazarus/thread930137.htmlПри попытке запустить проект OpenGLControl_Demo получаю ошибку gdb: unable to read jit descriptor from remote memory. В проекте Hello ошибки нет. Подскажите в чем дело. И еще вопрос: писал кто-нить на OpenGL под Lazarus? Появилась необходимость перенести крупный проект с Delphi. Lazarus Событие OnClick для динамически созданных Image Допустим есть массив из 3 Image созданный динамически как сделать ему событие onclick подробнее Показать сообщение отдельно @ujif 23 / 18 / 1 Регистрация: 08.12.2012 Сообщений: 577 09.03.2014, 19:42 Уменьшение размера исполняемого файла в lazarus-1.0.10 параметры проекта-компоно