Last active
January 4, 2016 19:04
-
-
Save felixfbecker/378a13c6306a4ed145cc to your computer and use it in GitHub Desktop.
Threads debug log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger listening on port 14905 | |
waiting for debug protocol on port 4711 | |
>> accepted connection from client | |
-> initializeRequest | |
{ type: 'request', | |
seq: 1, | |
command: 'initialize', | |
arguments: { adapterID: 'php', linesStartAt1: true, pathFormat: 'path' } } | |
<- initializeResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 1, | |
command: 'initialize', | |
success: true } | |
-> launchRequest | |
{ type: 'request', | |
seq: 2, | |
command: 'launch', | |
arguments: | |
{ name: 'Listen for XDebug', | |
type: 'php', | |
request: 'launch', | |
port: 9000, | |
serverSourceRoot: '/var/www/myproject', | |
localSourceRoot: '.', | |
debugServer: 4711, | |
outDir: null, | |
address: 'localhost', | |
program: null, | |
stopOnEntry: false, | |
args: null, | |
cwd: 'c:\\Users\\felix\\git\\github\\vscode-php-debug\\testproject', | |
runtimeExecutable: null, | |
runtimeArgs: null } } | |
<- launchResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 2, | |
command: 'launch', | |
success: true } | |
New XDebug Connection #1 | |
<- initializedEvent | |
InitializedEvent { seq: 0, type: 'event', event: 'initialized' } | |
-> setBreakpointsRequest | |
{ type: 'request', | |
seq: 3, | |
command: 'setBreakpoints', | |
arguments: | |
{ source: { path: 'c:\\Users\\felix\\git\\github\\vscode-php-debug\\testproject\\test.php' }, | |
lines: [ 5, 7 ] } } | |
-> setExceptionBreakpointsRequest | |
{ type: 'request', | |
seq: 4, | |
command: 'setExceptionBreakpoints', | |
arguments: { filters: [ 'uncaught' ] } } | |
<- setExceptionBreakpointsResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 4, | |
command: 'setExceptionBreakpoints', | |
success: true } | |
<- setBreakpointsResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 3, | |
command: 'setBreakpoints', | |
success: true, | |
body: | |
{ breakpoints: | |
[ Breakpoint { verified: true, line: 5 }, | |
Breakpoint { verified: true, line: 7 } ] } } | |
<- stoppedEvent | |
StoppedEvent { | |
seq: 0, | |
type: 'event', | |
event: 'stopped', | |
body: | |
{ reason: 'exception', | |
threadId: 1, | |
text: 'Warning: Illegal offset type' } } | |
-> threadsRequest | |
{ type: 'request', seq: 5, command: 'threads' } | |
<- threadsResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 5, | |
command: 'threads', | |
success: true, | |
body: { threads: [ Thread { id: 1, name: 'Request 1 (8:03:18 PM)' } ] } } | |
-> stackTraceRequest | |
{ type: 'request', | |
seq: 6, | |
command: 'stackTrace', | |
arguments: { threadId: 1, levels: 20 } } | |
<- stackTraceResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 6, | |
command: 'stackTrace', | |
success: true, | |
body: | |
{ stackFrames: | |
[ StackFrame { | |
id: 1, | |
source: | |
Source { | |
name: 'index.php', | |
path: 'C:/Users/felix/git/github/vscode-php-debug/testproject/index.php', | |
sourceReference: 0 }, | |
line: 62, | |
column: 1, | |
name: 'triggerWarning' }, | |
StackFrame { | |
id: 2, | |
source: | |
Source { | |
name: 'index.php', | |
path: 'C:/Users/felix/git/github/vscode-php-debug/testproject/index.php', | |
sourceReference: 0 }, | |
line: 69, | |
column: 1, | |
name: '{main}' } ] } } | |
-> scopesRequest | |
{ type: 'request', | |
seq: 7, | |
command: 'scopes', | |
arguments: { frameId: 1 } } | |
<- scopesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 7, | |
command: 'scopes', | |
success: true, | |
body: | |
{ scopes: | |
[ Scope { name: 'Locals', variablesReference: 1, expensive: false }, | |
Scope { name: 'Superglobals', variablesReference: 2, expensive: false }, | |
Scope { | |
name: 'User defined constants', | |
variablesReference: 3, | |
expensive: false } ] } } | |
-> variablesRequest | |
{ type: 'request', | |
seq: 8, | |
command: 'variables', | |
arguments: { variablesReference: 1 } } | |
<- variablesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 8, | |
command: 'variables', | |
success: true, | |
body: { variables: [ Variable { name: '$anArray', value: 'array(0)', variablesReference: 4 } ] } } | |
New XDebug Connection #2 | |
<- threadEvent | |
ThreadEvent { | |
seq: 0, | |
type: 'event', | |
event: 'thread', | |
body: { reason: 'started', threadId: 2 } } | |
-> threadsRequest | |
{ type: 'request', seq: 9, command: 'threads' } | |
<- threadsResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 9, | |
command: 'threads', | |
success: true, | |
body: | |
{ threads: | |
[ Thread { id: 1, name: 'Request 1 (8:03:18 PM)' }, | |
Thread { id: 2, name: 'Request 2 (8:03:25 PM)' } ] } } | |
<- stoppedEvent | |
StoppedEvent { | |
seq: 0, | |
type: 'event', | |
event: 'stopped', | |
body: { reason: 'breakpoint', threadId: 2 } } | |
-> stackTraceRequest | |
{ type: 'request', | |
seq: 10, | |
command: 'stackTrace', | |
arguments: { threadId: 2, levels: 20 } } | |
<- stackTraceResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 10, | |
command: 'stackTrace', | |
success: true, | |
body: | |
{ stackFrames: | |
[ StackFrame { | |
id: 3, | |
source: | |
Source { | |
name: 'test.php', | |
path: 'C:/Users/felix/git/github/vscode-php-debug/testproject/test.php', | |
sourceReference: 0 }, | |
line: 5, | |
column: 1, | |
name: '{main}' } ] } } | |
-> scopesRequest | |
{ type: 'request', | |
seq: 11, | |
command: 'scopes', | |
arguments: { frameId: 3 } } | |
<- scopesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 11, | |
command: 'scopes', | |
success: true, | |
body: | |
{ scopes: | |
[ Scope { name: 'Locals', variablesReference: 5, expensive: false }, | |
Scope { name: 'Superglobals', variablesReference: 6, expensive: false }, | |
Scope { | |
name: 'User defined constants', | |
variablesReference: 7, | |
expensive: false } ] } } | |
-> variablesRequest | |
{ type: 'request', | |
seq: 12, | |
command: 'variables', | |
arguments: { variablesReference: 5 } } | |
<- variablesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 12, | |
command: 'variables', | |
success: true, | |
body: { variables: [] } } | |
-> continueRequest | |
{ type: 'request', | |
seq: 13, | |
command: 'continue', | |
arguments: { threadId: 1 } } | |
<- continueResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 13, | |
command: 'continue', | |
success: true } | |
<- stoppedEvent | |
StoppedEvent { | |
seq: 0, | |
type: 'event', | |
event: 'stopped', | |
body: | |
{ reason: 'exception', | |
threadId: 1, | |
text: 'Exception: this is an exception' } } | |
-> stackTraceRequest | |
{ type: 'request', | |
seq: 14, | |
command: 'stackTrace', | |
arguments: { threadId: 1, levels: 20 } } | |
<- stackTraceResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 14, | |
command: 'stackTrace', | |
success: true, | |
body: | |
{ stackFrames: | |
[ StackFrame { | |
id: 4, | |
source: | |
Source { | |
name: 'index.php', | |
path: 'C:/Users/felix/git/github/vscode-php-debug/testproject/index.php', | |
sourceReference: 0 }, | |
line: 45, | |
column: 1, | |
name: 'throwException' }, | |
StackFrame { | |
id: 5, | |
source: | |
Source { | |
name: 'index.php', | |
path: 'C:/Users/felix/git/github/vscode-php-debug/testproject/index.php', | |
sourceReference: 0 }, | |
line: 71, | |
column: 1, | |
name: '{main}' } ] } } | |
-> scopesRequest | |
{ type: 'request', | |
seq: 15, | |
command: 'scopes', | |
arguments: { frameId: 4 } } | |
<- scopesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 15, | |
command: 'scopes', | |
success: true, | |
body: | |
{ scopes: | |
[ Scope { name: 'Locals', variablesReference: 8, expensive: false }, | |
Scope { name: 'Superglobals', variablesReference: 9, expensive: false }, | |
Scope { | |
name: 'User defined constants', | |
variablesReference: 10, | |
expensive: false } ] } } | |
-> variablesRequest | |
{ type: 'request', | |
seq: 16, | |
command: 'variables', | |
arguments: { variablesReference: 8 } } | |
<- variablesResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 16, | |
command: 'variables', | |
success: true, | |
body: { variables: [] } } | |
-> continueRequest | |
{ type: 'request', | |
seq: 17, | |
command: 'continue', | |
arguments: { threadId: 1 } } | |
<- continueResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 17, | |
command: 'continue', | |
success: true } | |
<- stoppedEvent | |
StoppedEvent { | |
seq: 0, | |
type: 'event', | |
event: 'stopped', | |
body: | |
{ reason: 'exception', | |
threadId: 1, | |
text: 'Fatal error: Uncaught Exception: this is an exception in C:\\Users\\felix\\git\\github\\vscode-php-debug\\testproject\\index.php:45\nStack trace:\n#0 C:\\Users\\felix\\git\\github\\vscode-php-debug\\testproject\\index.php(71): throwException()\n#1 {main}\n thrown' } } | |
-> stackTraceRequest | |
{ type: 'request', | |
seq: 18, | |
command: 'stackTrace', | |
arguments: { threadId: 1, levels: 20 } } | |
<- stackTraceResponse | |
Response { | |
seq: 0, | |
type: 'response', | |
request_seq: 18, | |
command: 'stackTrace', | |
success: true, | |
body: { stackFrames: [] } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment