Re: [sc-dev] Debug the Calc Source Code

2010-04-13 Thread Daniel Rentz

rashi dhing schrieb:

  I started building the sc module with debug=true but now I am getting the
following error:

 ../wntmsci12.pro/bin/scuimi.dll : fatal error LNK1169 : one or more
multiply defined symbols found.
dmake: Error code 2, while making ' ../wntmsci12.pro/bin/scuimi.dll

I came across a similar issue from the mail archives:
http://www.mail-archive.com/d...@openoffice.org/msg12074.html


That is exactly the issue that Niklas has mentioned in his previous 
posting. It does not work do compile the entire sc with debug.


quote
In fact, until CWS dr73 is integrated, building the complete sc module 
with debug info will fail, see issue 100534.

/quote

Until this fix will be integrated (one of the next milestones), please 
do the following:


1) Compile the sc module without debug.

cd sc
build killobj
build

2) Build the files you are interested in with debug.

touch source/ui//cxx
build debug=t

3) Do not forget to copy the new DLLs into your OOo installation.


Regards
Daniel

-
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org



Re: [sc-dev] Debug the Calc Source Code

2010-04-13 Thread David Tardon
On Tue, Apr 13, 2010 at 10:28:58AM +0300, rashi dhing wrote:
   I started building the sc module with debug=true but now I am getting the
 following error:
 
  ../wntmsci12.pro/bin/scuimi.dll : fatal error LNK1169 : one or more
 multiply defined symbols found.
 dmake: Error code 2, while making ' ../wntmsci12.pro/bin/scuimi.dll
 
 I came across a similar issue from the mail archives:
 http://www.mail-archive.com/d...@openoffice.org/msg12074.html
 
 And accordingly I did ,
 cd sc
 build killobj
 build debug=true
 
 But i still get the same error.
 
 Now what ?

As Niklas wrote:

In fact, until CWS dr73 is integrated, building the complete sc
module with debug info will fail, see issue 100534.

D.

-
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org



Re: [sc-dev] Debug the Calc Source Code

2010-04-12 Thread Niklas Nebel

On 04/11/10 15:37, rashi dhing wrote:

I am getting the error The breakpoint will not currently be hit. No symbols
have been loaded for this document after adding a breakpoint to a line in
the source file.

I have been doing the following:
1) Running Calc by clicking in scalc.exe from the programs dir of the
installation set.
2) Opening VS2008 and attaching the process soffice.bin
3)Opening the source files that I need to debug.
4)Adding the breakpoint. But that is when the error arises.

I did everything on Calc to hit the breakpoint but nothing happens.Do I have
to build the calc source in debug mode ? Has anyone had a similar situation
?


Yes, build the affected code with debug=true. You can mix debug and 
non-debug code, so you don't have to build the whole module with debug 
information.


In fact, until CWS dr73 is integrated, building the complete sc module 
with debug info will fail, see issue 100534.


Niklas

-
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org



Re: [sc-dev] Debug the Calc Source Code

2010-04-11 Thread rashi dhing
I am getting the error The breakpoint will not currently be hit. No symbols
have been loaded for this document after adding a breakpoint to a line in
the source file.

I have been doing the following:
1) Running Calc by clicking in scalc.exe from the programs dir of the
installation set.
2) Opening VS2008 and attaching the process soffice.bin
3)Opening the source files that I need to debug.
4)Adding the breakpoint. But that is when the error arises.

I did everything on Calc to hit the breakpoint but nothing happens.Do I have
to build the calc source in debug mode ? Has anyone had a similar situation
?

Appreciate any help !

Regards,

Rashi.


[sc-dev] Debug the Calc Source Code

2010-04-06 Thread rashi dhing
Hi ! Is there a good debugger which can be implemented on the source code of
openoffice inorder to step into the lines and add break points
at various locations of the code. I am using Cygwin on Windows to compile
and build the code. Are gdb and C++ Builder good options ?
Would it involve loading all the files into the debugger or just the exe
file (scalc.exe for the sc project) ?

Gracias !

-Rashi