www.digitalmars.com         C & C++   DMDScript  

c++.idde - conditional breakpoints??

reply "Yochanan Spielberg" <yochanan bigfoot.com> writes:
                                      bs"d
Hi.

Does anyone know how to set up a conditional breakpoint in the IDDE
debugger?

I do F9 to do a regular breakpoint.

If I right click on a source code line and choose 'set conditional
breakpoint' it sets 'something'
which I can see in the 'Breakpoint' window.  Then I click on Bpt->Set
Conditional Breakpoint and
it gives me a little window that says 'Expression'.  I didn't find any
'help' on what to type in here.
Afterwards it gives me the 'Conditional Breakpoint window' mentioned in the
help, but with the
wrong address.  Obviously I'm not doing it right.

Can you give me some pointers?

Thanks.

                  Yochanan Spielberg
Aug 06 2001
parent reply "Jurek Wozniak" <jurek_wozniak zdnetonebox.com> writes:
I can't get conditional breakpoints to work either Yochanan, so either we're
both computer illiterates or there is a problem here !  :-)
I also can't persuade the IDDE to save my workspaces, or to re-start with
the current project loaded. It's a real pain having to set up all the
windows to my preferred settings each time.  Help please anyone ?

TIA.

Jurek.
Aug 06 2001
parent reply Jan Knepper <jan smartsoft.cc> writes:
Jurek Wozniak wrote:

 I also can't persuade the IDDE to save my workspaces, or to re-start with
 the current project loaded. It's a real pain having to set up all the
 windows to my preferred settings each time.  Help please anyone ?
This should work by going: "Environment->Workspace->Save Workspace Set" once you have your workspace the way you like it. It however will save scw.ini and scw32.cfg in the /bin directory which has to be writeable at that time... HTH Jan
Aug 06 2001
parent "Yochanan Spielberg" <yochanan bigfoot.com> writes:
bs"d

I've just found that if one sets a regular breakpoint in the Source code
window, then run the program to that breakpoint, then open the Assembly
window, then it is possible to set a conditional breakpoint where the
program is stopped in the Assembly window.  It even displays the correct
line number from the Source window.  Afterwards, it is possible to go to the
Breakpoints window, and change the parameters of the Conditional breakpoint.
I don't know why it works, but it seems to do so.

                            Yochanan

"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3B6F1C6E.1C9A1815 smartsoft.cc...
 Jurek Wozniak wrote:

 I also can't persuade the IDDE to save my workspaces, or to re-start
with
 the current project loaded. It's a real pain having to set up all the
 windows to my preferred settings each time.  Help please anyone ?
This should work by going: "Environment->Workspace->Save Workspace Set" once you have your workspace the way you like it. It however will save scw.ini and scw32.cfg in the /bin directory which has
to be
 writeable at that time...

 HTH

 Jan
Aug 08 2001