Júlio Maranhão wrote, On 2008-05-22 15:39:
> Hi! I have a bug in Thunderbird concerning NSS (PKCS #11 modulo
> interaction). The already used bugzilla to fill in the bug
> (unconfirmed).
What is the bug number? I was not able to find any bug with your name
> But I would like to do more: debug the code.
>
> I have VS 2005 + Win 2003 R2 SDK + mozilla-build
[snip]
> My machine is WinXP SP3.
>
> The build is perfect and I am sending this text using it. I can see many
> console output, but how can I debug? How to set breakpoints in the code,
> step into, over, out? It seems to be only makefiles for VS 2005. How do
> you guys debug in Win platform?
I gather that you built Thunderbird with the MSVC compiler in VS 2005
but that you're not experienced with the debugger. Providing coaching
on the use of Microsoft's development tools is outside the scope of this
list, but I will offer this tidbit to get you started.
Using a command line window of some sort, change into the directory
where the Thunderbird executable that you build is located, and
invoke the debugger with the command
VCExpress /debugexe thunderbird.exe [TB arguments here ]
In the Window that appears, go through an familiarize yourself with
the menus. The Project Menu, Properties item is where you can change
the command line arguments to the program and specify any redirection
of stdin, stdout or stderr. The Debug menu is where you can define a
new break point in a function by name, and start execution or step in
or step over a line of code.
That should get you started.
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto