DOS in Win7, how about Ubuntu? lazarus / 9-Editor ---------------------------------------------------------------------- thanhbuu · 2012-07-05 04:11 In Win7, when I run a lazarus project (still in the IDE), it often show the black window (or DOS) but how about in ubuntu? ---------------------------------------------------------------------- Leledumbo · 2012-07-05 07:02 You mean when creating console applications? Under *nix including Linux, use view->debugger windows->terminal output, or use run parameters->use launching application and choose your terminal. ---------------------------------------------------------------------- avra · 2012-07-05 07:09 http://www.lazarus.freepascal.org/index.php/topic,14551.msg77044.html# msg77044 ---------------------------------------------------------------------- HappyLarry · 2012-07-05 09:36 Or Open a terminal and enter ./project1 or whatever your program executable is called. If it is in a folder you need to navigate to the folder first using the cd command. You can then use the arrow keys to easily rerun the ./project1 command. ---------------------------------------------------------------------- thanhbuu · 2012-07-05 16:30 First: There is no "view->debugger windows->terminal output" in my Lazarus Second: " parameters->use launching application and choose your terminal." when I was debugging, it shows error and exit: Code: [Select]TWinControl.WMSize loop detected, the widgetset does not like the LCL bounds or sends unneeded wmsize messages: sbHorizontal:TScrollBar BoundsRealized=l=0,t=286,r=721,b=301 NewBoundsRealized=l=0,t=286,r=0,b=301. Press OK to ignore and risk data corruption. Press Cancel to kill the program. To say my idea clearly, I want to DEBUG and RUN my program WITH TERMINAL ---------------------------------------------------------------------- ludob · 2012-07-05 16:46 QuoteFirst: There is no "view->debugger windows->terminal output" in my Lazarus First: what OS and LAZARUS VERSION? QuoteSecond: " parameters->use launching application and choose your terminal." when I was debugging, it shows error and exit:Second: what did you enter as launching application? To say it clearly: No need to SHOUT but read http://wiki.lazarus.freep ascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_ forum.3F ---------------------------------------------------------------------- thanhbuu · 2012-07-07 02:13 Thank you! I have solve the output to terminal, but the new error has appeared: Code: [Select]Debugger error Ooops, the debugger entered the error state Save your work now ! Hit Stop, and hope the best, we're pulling the plug.When I was searching for information on the net, I found that they often tell about GDB error, but it looks like not because of it, can you suggest any solution? ---------------------------------------------------------------------- BigChimp · 2012-07-07 06:37 Quote from: ludob on July 05, 2012, 06:46:29 pmFirst: what OS and LAZARUS VERSION? Quote from: ludob on July 05, 2012, 06:46:29 pmread http://wiki.lazaru s.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_ in_the_forum.3F ---------------------------------------------------------------------- thanhbuu · 2012-07-07 12:14 My OS is Ubuntu Lazarus version: 0.9.30.2 ---------------------------------------------------------------------- thanhbuu · 2012-07-08 04:06 Please help me! Thanks ---------------------------------------------------------------------- ludob · 2012-07-08 08:04 QuoteWhen I was searching for information on the net, I found that they often tell about GDB error, but it looks like not because of it, can you suggest any solution?First hit on google when searching for 'lazarus Ooops, the debugger entered the error state' : http://www.lazarus.freepascal.org/index.php?topic=15459.0 The reply in that post is from the lazarus debugger expert.