View previous topic :: View next topic |
Author |
Message |
michaelc97
Joined: 06 May 2007 Posts: 9
|
Posted: Thu Nov 22, 2007 8:57 pm Post subject: Debugging? |
|
|
I have been able to set breakpoints, now how can i set watch variables.
Ok guyz i have been tryin to millions of times to add watch variables. but i just cant. if its so easy to do the breakpoints how can i do watch variables. please help me.
Is this even implemented? if not can someone do it, or at least tell me how can I go about trying to implement this in my build(source). |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sun Nov 25, 2007 9:21 pm Post subject: Re: Debugging? |
|
|
michaelc97 wrote: | I have been able to set breakpoints, now how can i set watch variables.
Ok guyz i have been tryin to millions of times to add watch variables. but i just cant. if its so easy to do the breakpoints how can i do watch variables. please help me.
Is this even implemented? if not can someone do it, or at least tell me how can I go about trying to implement this in my build(source). |
Set the breakpoints is ctrl + left click unitl poseidon using the lastest scintilla lib( maybe 1.74 ), newer scintilla can use more margins to set and show breakpoints.
After push the bug( Run Debugger ), poseidon will compile the project with -g compiler option and excute ddbg.exe, but it won't start running the debugger until we push the "Run/Resume" button( send the r to ddbg ) to run the ddbg.
After running the ddbg, we can push the Refresh button( left side Variables window, if we don't run th ddbg, the button is disabled ), it should show all variables. There is an another "chain" button, if it is selected, the variables will auto-update when step-in , step-over or step-return.
Sometimes poseidon can't catch the ddbg message correctly, I've modified it( maybe... ), I'll commit the code tonight or tomorrow. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|