Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,403 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
How to use the debugger? #394571
02/14/12 15:49
02/14/12 15:49
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
Hello,
If I put a "breakpoint;" in my code, the engine does not recognize it. I searched through the manual as well as though the forums on how to use the debugger, and it looks like putting a breakpoint; is all I'm supposed to do to initialize it? Am I missing something? Do I need to add some sort of a header or external file somewhere to make it work? Thanks, any help is greatly appreciated!
-Matt


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Re: How to use the debugger? [Re: Mahonroy] #394572
02/14/12 15:59
02/14/12 15:59
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Did you do a debug run? It's "Debug" -> "Debug Run" or just click on red triangle.


Always learn from history, to be sure you make the same mistakes again...
Re: How to use the debugger? [Re: Uhrwerk] #394580
02/14/12 16:30
02/14/12 16:30
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
Yeah I have tried both ways, and nothing changes


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Re: How to use the debugger? [Re: Mahonroy] #394600
02/14/12 18:42
02/14/12 18:42
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
W
wdakfenixx Offline
Junior Member
wdakfenixx  Offline
Junior Member
W

Joined: Aug 2011
Posts: 58
Colombia/Bogotá
Ok until I know that means, that you put the brakpoint somwhere that has not been excecuted, or over one bracket alone "{", its probably that you didn´t call the function or the statement returns false

Last edited by wdakfenixx; 02/14/12 18:44.

CAUTION :The content above could blow your mind
Re: How to use the debugger? [Re: wdakfenixx] #394603
02/14/12 18:49
02/14/12 18:49
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
"breakpoint;" comes up as a compile error.... its not that it never breaks...


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Re: How to use the debugger? [Re: Mahonroy] #394605
02/14/12 19:05
02/14/12 19:05
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
W
wdakfenixx Offline
Junior Member
wdakfenixx  Offline
Junior Member
W

Joined: Aug 2011
Posts: 58
Colombia/Bogotá
are you writing "breakpoint;" inside the code?


CAUTION :The content above could blow your mind
Re: How to use the debugger? [Re: wdakfenixx] #394606
02/14/12 19:07
02/14/12 19:07
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
Yes. I'll have some function, everything compiles and runs fine. Inside one of the functions I'll type in breakpoint;, now when I click the black or red triangle it doesn't even compile, it highlights breakpoint saying that it doesn't know what that means.


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Re: How to use the debugger? [Re: Mahonroy] #394607
02/14/12 19:10
02/14/12 19:10
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
W
wdakfenixx Offline
Junior Member
wdakfenixx  Offline
Junior Member
W

Joined: Aug 2011
Posts: 58
Colombia/Bogotá
well if you are doing that that´s the problem, to toogle a break point you can
1-select the line of code where you gonna put the breakpoint
2-press F9
-or the open hand in the toolbar
-or in the menu ->Debbug -> toogle breakpoint
the code line should highlidht red


CAUTION :The content above could blow your mind
Re: How to use the debugger? [Re: wdakfenixx] #394613
02/14/12 21:12
02/14/12 21:12
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
Ok I will give this a try thanks!


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Re: How to use the debugger? [Re: Mahonroy] #396681
03/08/12 23:43
03/08/12 23:43
Joined: Sep 2003
Posts: 353
Mahonroy Offline OP
Senior Member
Mahonroy  Offline OP
Senior Member

Joined: Sep 2003
Posts: 353
So I set breakpoint in SED, got it so I can execute one line of code at a time. But I can't tell what values my variables have (e.g. floating the cursor over variables doesn't do anything), so I tried typing in the variable names into the watch area, and all it ever says is for value is "Not Available", am I doing something wrong? Thanks again!


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional
Page 1 of 3 1 2 3

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1