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

2010-04-13 Thread rashi dhing
  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/dev@openoffice.org/msg12074.html

And accordingly I did ,
cd sc
build killobj
build debug=true

But i still get the same error.

Now what ?

-Rashi


[dev] 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...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-04-12 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.


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

2010-04-06 Thread Niklas Nebel

On 04/06/10 09:03, rashi dhing wrote:

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) ?


You can use the Microsoft debugger, see 
http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=23888.


Niklas

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