Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Debugger
»
"SizeOf" does not work in the Evaluate/Modify wind
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Dumb Problems Contest!
by
Bart
[
Today
at 11:08:05 pm]
Wikipedia pollution
by
Kays
[
Today
at 09:15:50 pm]
How to register a windows...
by
rca
[
Today
at 08:42:34 pm]
Corrupted strings
by
Aruna
[
Today
at 08:25:44 pm]
Convert string with Key-V...
by
Bart
[
Today
at 08:07:00 pm]
$ifdef highlighting
by
Thaddy
[
Today
at 07:26:54 pm]
Lazarus Trunc & macOS Tah...
by
Thaddy
[
Today
at 05:00:57 pm]
"F2": possible bug in IDE...
by
WooBean
[
Today
at 04:14:47 pm]
Please ask about the valu...
by
dseligo
[
Today
at 03:34:20 pm]
Need help converting a C+...
by
jamie
[
Today
at 03:18:52 pm]
TurboBird IBX
by
maurog
[
Today
at 02:56:32 pm]
Problem with TSQLQuery
by
sch61
[
Today
at 02:53:10 pm]
append new record to arra...
by
Warfley
[
Today
at 02:28:36 pm]
Lazarus broke my project
by
LatinoDaddy
[
Today
at 02:21:02 pm]
How to use nested classes
by
Thaddy
[
Today
at 02:03:44 pm]
Publish a LAMW app in F-d...
by
Joris
[
Today
at 01:49:23 pm]
Help with a TPages and TA...
by
AlexTP
[
Today
at 12:01:24 pm]
randomrange
by
BubikolRamios
[
Today
at 10:36:19 am]
Synedit wordwrap
by
Martin_fr
[
Today
at 09:42:04 am]
How to load read large CS...
by
Xenno
[
Today
at 05:43:10 am]
Uno, working demo (comput...
by
TBMan
[
Today
at 04:18:51 am]
[solved] fishing problem ...
by
speter
[
Today
at 03:36:39 am]
problen updating lazarus ...
by
LatinoDaddy
[
Today
at 02:48:20 am]
Need help with compiling ...
by
dbannon
[
Today
at 01:02:16 am]
Hints in TTrayIcon
by
dbannon
[
Today
at 12:44:28 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: "SizeOf" does not work in the Evaluate/Modify wind (Read 11267 times)
Hitnrun
New Member
Posts: 24
"SizeOf" does not work in the Evaluate/Modify wind
«
on:
July 03, 2007, 01:19:50 pm »
Am I missing something? The sizeof function is one of the "internal" functions, it seems strange to me that it doesn't work on the debugging windows...
If this is really the case, is it possible to talk directly do gdb while debugging on lazarus?
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #1 on:
July 03, 2007, 05:05:52 pm »
a function is a function, even if it is an internal function.
No, it is not possible to talk directly to gdb while debugging in Lazarus, but you can start gdb from the command line yourself and debug your app directly in gdb.
Logged
Marc
Administrator
Hero Member
Posts: 2663
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #2 on:
July 03, 2007, 06:09:42 pm »
Event then it will be hard. Please let me know if you were able to call a function
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Hitnrun
New Member
Posts: 24
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #3 on:
July 05, 2007, 12:09:23 am »
Hmm so I can't call any function on the evaluate window? Is this a gdb or fpc/lazarus limitation? It really makes debugging slower, but it can be overcomed.
Logged
Marc
Administrator
Hero Member
Posts: 2663
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #4 on:
July 05, 2007, 11:30:40 am »
by default ist turned off in gdb
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Hitnrun
New Member
Posts: 24
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #5 on:
July 06, 2007, 02:17:09 am »
So... the irresistible question... can we turn it on?
Logged
Marc
Administrator
Hero Member
Posts: 2663
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #6 on:
July 06, 2007, 02:00:17 pm »
I don't expect any usefull results from gdb, so I won't turn it on.
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Hitnrun
New Member
Posts: 24
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #7 on:
July 06, 2007, 10:24:05 pm »
Ah it is only changeable inside lazarus source code? Ah ok, I thought there was an option somewhere.
Logged
Marc
Administrator
Hero Member
Posts: 2663
RE: "SizeOf" does not work in the Evaluate/Modify
«
Reply #8 on:
July 09, 2007, 11:22:18 am »
its an option for gdb, but this is not exposed since I expect lost of troubles with it.
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Debugger
»
"SizeOf" does not work in the Evaluate/Modify wind
TinyPortal
© 2005-2018