whenever a fatal error occurs in my programs, an assembler window pops up.
I never use it, and I don't want to see it. I close it dozens (or hundreds) of times every day. How can I make it stop appearing?
thanks!
~David.

Mailing lists / lazarus / 2009-10
18 messages · 9 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
whenever a fatal error occurs in my programs, an assembler window pops up.
I never use it, and I don't want to see it. I close it dozens (or hundreds) of times every day. How can I make it stop appearing?
thanks!
~David.
I also dislike that behaviour :-(
Sometimes it helps to move the window out of sight.
IMO the window should remember its last position, and not pop up in the middle of the screen.
DoDi
whenever a fatal error occurs in my programs, an assembler window pops up. I never use…
David Emerson wroteI never use it, and I don't want to see it. I close it dozens (or hundreds) of times every day. How can I make it stop appearing?
If all else fails, hack the Lazarus source code. :-) That's what I do for features I don't like and that doesn't have customization options.
Alternatively we (me included) should learn what that assembler window means and is trying to tell us. :) Maybe it's useful, maybe not - I have no clue. Last time I looked at assembler was when I studied programming after school (to many years ago to remember anything).
whenever a fatal error occurs in my programs, an assembler window pops up. I never use…
Hello Lazarus-List,
Thursday, October 29, 2009, 11:15:25 PM, you wrote:
DE> whenever a fatal error occurs in my programs, an assembler window pops DE> up.
DE> I never use it, and I don't want to see it. I close it dozens (or DE> hundreds) of times every day. How can I make it stop appearing?
I'm quite sure this problem will be fixed soon (maybe this weekend). Assembler window is intented to appear only when no callstack information is available (no debug information), but currently it appears almost always.
whenever a fatal error occurs in my programs, an assembler window pops up. I never use…
+1
Luiz
Hi,
I am now using the latest development version of Lazarus from SVN. It compiles and works fine!
Then I installed some packages, including VirtualTreeView. Lazarus rebuilt itself and restarted. I got new component tabs. Perfect!
But now I updated Lazarus to latest SVN version and then run "make all". The component tabs were gone. I had to make a small change in Installed Packages window and then let Lazarus build itself once more to get them back.
How should I build the latest version so that the component tabs are preserved?
Juha Manninen
* Update from svn.
* start old lazarus executable
* Tools -> Configure Build Lazarus
* Set everything (except examples) on build
* Check "With package"
* Click Build Button.
Vincent
+1 Luiz
Hello Lazarus-List,
Friday, October 30, 2009, 9:17:57 AM, you wrote:
LAPC> +1
Please check today commit about debugger.
* Update from svn. * start old lazarus executable * Tools -> Configure Build Lazarus *…
Thanks.
Juha M.
Hi,
GetCursorPos is defined in winapih.inc.
Does it mean it is Windows only? Is there a cross platform alternative?
Juha M.
You can get the coordinates of the cursor in the event FormMouseMove.
Ant?nio
2009/10/30 Juha Manninen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091030/67d5cb0a/attachment.html>
GetCursorPos is defined in winapih.inc. Does it mean it is Windows only? Is there a cross…
Juha Manninen wroteHi, GetCursorPos is defined in winapih.inc. Does it mean it is Windows only? Is there a cross platform alternative?
No, it is part of the LCLintf unit:
http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/index.html
Porting Delphi code without having the windows unit is hard, so we made it easier.
Vincent
GetCursorPos is defined in winapih.inc. Does it mean it is Windows only? Is there a cross…
Things defined in winapih are winapi compatible functions. So on windows they will call winapi functions and on linux our made analogs. So they are cross platform.
Best regards,
Paul Ishenin.
No, it is part of the LCLintf unit: http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/in…
Hi.
Ok, thanks, LCLintf helped.
I am using the function in VirtualTreeView's Plugin.PopupFunc handler like
this:
...
GetCursorPos(P);
P := Tree.ScreenToClient(P);
if PtInRect(Tree.ClientRect, P) then
begin
Tree.GetHitTestInfoAt(P.X, P.Y, True, fHitInfo);
Tree.FocusedColumn := fHitInfo.HitColumn;
Tree.FocusedNode := fHitInfo.HitNode;
end
...It took me a long time in Delphi to find this solution to know on which cell the popup menu is opened. Focused cell is easy to get but right-mouse-click doesn't focus the cell automatically.
It is possible of course that I missed some easier way of doing it.
Regards,
Juha Manninen
DE> whenever a fatal error occurs in my programs, an assembler window pops DE> up. DE> I…
JoshyFun wroteI'm quite sure this problem will be fixed soon (maybe this weekend). Assembler window is intented to appear only when no callstack information is available (no debug information), but currently it appears almost always.
It is great to hear that this is on the radar!
I would add that it would be nice to be able to disable the thing in all cases, even when there is no callstack info.
Cheers,
David.
Hello Lazarus-List,
Saturday, October 31, 2009, 8:20:30 PM, you wrote:
JoshyFun wrote> I'm quite sure this problem will be fixed soon (maybe this weekend). > Assembler window is intented to appear only when no callstack > information is available (no debug information), but currently it > appears almost always.
DE> It is great to hear that this is on the radar! DE> I would add that it would be nice to be able to disable the thing in all DE> cases, even when there is no callstack info.
If no callstack information is available something really weird happends, and from that point of view your only source of some information is the assembler window. The same happends in Delphi more or less. With the new changes you will not see the assembler window almost never, maybe only debugging the FPC internal libraries.
LAPC> +1 Please check today commit about debugger. JoshyFun
Wow, thanks!
For those of us who use stable packaged lazarus... I was able to use KDE's window-specific settings to Force "Keep Below" on the assembler window.
Cheers,
~David.
pops
Hello Lazarus-List,
Tuesday, November 3, 2009, 11:02:31 AM, you wrote:
DE> For those of us who use stable packaged lazarus... I was able to use DE> KDE's window-specific settings to Force "Keep Below" on the assembler DE> window.
You can manually patch your stable release, as the changes are quite easy and only about one procedure, in debuggermanager.pas under ide folder change the function:
procedure TDebugManager.DebuggerCurrentLine(Sender: TObject; const ALocation: TDBGLocationRec);by the current one in SVN http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/debugmanager.pas?view=markup&revision=22348&root=lazarus and rebuild your Lazarus.