Re: howto do a backtrace on windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do you get a windows dialog with "this application did something really
bad..."?

If you do pressing "Cancel" should start the debugger automatically. You'd
need to compile php in the debug mode in order to get some useful
information out of it though.

Edin

----- Original Message ----- 
From: "M. Sokolewicz" <tularis@xxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Sent: Tuesday, March 22, 2005 5:17 PM
Subject:  howto do a backtrace on windows?


> hello,
>
> I've compiled PHP (and apache) on windows (using MSVC++.NET), and have
> been doing so for a while now. Lately I've noticed Apache crashing when
> I run certain scripts, so I figured I'd best make a backtrace in such
> cases (since the scripts it crashes on are pretty long and complex, so
> getting to the code that makes it crash is pretty hard). However, I'm
> unsure how I can backtrace what hapenned before it crashed. I've tried
> using the gdb (GNU Debugger), but it returns only "??" for each item in
> the stack, even though PHP itself is built with debug symbols. Maybe
> apache should aswell?? I'm not sure how to continue here... =/
>
> Does anyone have any tips/advice? (except for the "get a precompiled
> snapshot from php.net one)
>
> thanks,
> - tul
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux