Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / what does it mean when...

Author
Message
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 1st Apr 2009 13:52
i run a program in in debug mode (F6) it runs then comes up with the grey box (at the bottom), it high lights a line but no error - i then press play program and it run ok with no errors nothing it just stops at the same line ever time but will still run the program if i use the strp through program - play program

any help
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 1st Apr 2009 15:08
I've never had any success using the DBPro debugger myself, but it sounds as if you have a breakpoint at that line?
That should make the debugger halt there so that you can check what has happened, etc. If that is the case, just remove the breakpoint from that line (in the main IDE it displays as a large red circle to the left of the line number) and it should not stop there any more.

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 1st Apr 2009 16:01
put simply when you F6 it means that at any point in the program you can press escapekey then look at the values in your code to see what they store or if they are storing the value you think they should. plus to can direct command input so say there a cube on the screen you can say position object id x,y,z and change any of the value for a id x y z to move that object, can also be done with say color object id new rgb values, you see it change color there and then.

hope that explains it a bit more.

Dark Physics makes any hot drink go cold.
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 1st Apr 2009 16:30
thanks for the replys
i dont think i have any breakpoints in the program (there is no red circle any where) and it just highlights the same line in black with no error as i said (sorry to repeat)

thanks again
kuljot
15
Years of Service
User Offline
Joined: 2nd Jan 2009
Location: sacramneto, ca united states
Posted: 3rd Apr 2009 05:31
hey can you upload your code here. so i can check it out and see if dbpro can run it ok.

Gateway GT5628 Quad Core Desktop Intel Core 2 Q6600 2.4GHz Quad Core 3072MB RAM / 500GB 7200 SATA II Hard drive DVD RW 18X multi dual NVIDIA GeForce 8500GT ....
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 3rd Apr 2009 23:01
err it has 976 lines
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 4th Apr 2009 00:38
That does not need to be a problem; as long as it doesn't have too much media that we need to download as well.

kuljot
15
Years of Service
User Offline
Joined: 2nd Jan 2009
Location: sacramneto, ca united states
Posted: 4th Apr 2009 01:49 Edited at: 4th Apr 2009 01:50
yeah no promblemo if it is just code out it in a code snippet. if it also has media compress it wiht the .dba and .dbpro files with media and upload.

Gateway GT5628 Quad Core Desktop Intel Core 2 Q6600 2.4GHz Quad Core 3072MB RAM / 500GB 7200 SATA II Hard drive DVD RW 18X multi dual NVIDIA GeForce 8500GT ....
mike5424
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 4th Apr 2009 10:32
ok im new so i dont no but i think it just shows what is happening or somthing it done it with my text adventure and that is ok so it must be telling you what is happening

www.madninjas.co.nr we are mad and we are ninjas
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 4th Apr 2009 16:31
Debug mode is does put a little "Debugger Console" down at the bottom. In here are a Command Line interface to operate a line of code from outside the program (which I don't think works), a "Variable Watcher" where you can see the values of any variables that are not local or in arrays or UDT's, and a "Step-through Mode" where you can step through your code to see what's wrong.

That's what they WANT you to think...
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 4th Apr 2009 23:00
well yes the Debugger console just drops down and waits for me to hit the play button

but the program runs fine just stops at the same place to wait for me to hit the play program

Login to post a reply

Server time is: 2024-11-25 08:39:29
Your offset time is: 2024-11-25 08:39:29