![]() |
![]() | BR_DEBUGGER_REQ | ![]() |
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
During debug session DbgListener calls IDbgSite::IsAlive()
By replying S_OK in IDbgSite::IsAlive(), the IDE confirms it's still ok ![]() |
|||||||||||
|
![]() |
![]() | ![]() |
![]() |
![]() |
Let me see if I understand correctly:
- The IDE says pause the debug session - I start returning S_FALSE on IDbgSite::IsAlive() - Dbg will call HandleBreakpoint with reason BR_DEBUGGER_REQ Correct? |
|||||||||||
|
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
- the user clicks PAUSE
- IDE returns S_FALSE to dbglistener - dbglistener informs DBG module to stop at the first appropriate location - DBG stops at that and informs dbglistener in normal way, e.g. via HandleBreakpoint |
|||||||||||
|
![]() |
![]() | ![]() |
![]() |
![]() |
What do you mean by the first appropriate location?
I'm trying to do this buy DBG never calls HandleBreakpoint. The sample script I'm using is a for loop with an echo: for ($a = 0; $a < 100000; $a++) echo "Test<br>"; is the problem that my script does not have an appropriate location for DBG to stop? |
|||||||||||
|
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
correct. You script does not. But the following does have
BTW, It's completely up to php itself to support such "locations" ![]() |
|||||||||||||
|
![]() |
![]() | BR_DEBUGGER_REQ | ![]() |
|
||
![]() |
![]() |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
![phpexpress](/images/poweredby-pe-3.0-small.gif)