{"action":"created","issue":{"url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/28","repository_url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug","labels_url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/28/comments","events_url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/28/events","html_url":"https://github.com/jcward/vscode-hxcpp-debug/issues/28","id":146132167,"number":28,"title":"Windows - Using Debugger causes Crash","user":{"login":"jrdoughty","id":3956893,"avatar_url":"https://avatars.githubusercontent.com/u/3956893?v=3","gravatar_id":"","url":"https://api.github.com/users/jrdoughty","html_url":"https://github.com/jrdoughty","followers_url":"https://api.github.com/users/jrdoughty/followers","following_url":"https://api.github.com/users/jrdoughty/following{/other_user}","gists_url":"https://api.github.com/users/jrdoughty/gists{/gist_id}","starred_url":"https://api.github.com/users/jrdoughty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrdoughty/subscriptions","organizations_url":"https://api.github.com/users/jrdoughty/orgs","repos_url":"https://api.github.com/users/jrdoughty/repos","events_url":"https://api.github.com/users/jrdoughty/events{/privacy}","received_events_url":"https://api.github.com/users/jrdoughty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-05T23:01:49Z","updated_at":"2016-04-07T03:19:28Z","closed_at":null,"body":"In https://github.com/jrdoughty/InvaderSupremacy I tried adding the debugger to my Main.hx file. However unless I comment out the line new debugger.HaxeRemote(true, \"127.0.0.1\"); in the main function, I can't get a successful compliation.\r\n\r\nmy launch.json file contains:\r\n{\r\n\t\"version\": \"0.2.0\",\r\n\t\"configurations\": [\r\n\t\t{\r\n\t\t\t\"name\": \"Windows Debug\",\r\n\t\t\t\"type\": \"hxcpp\",\r\n\t\t\t\"request\": \"launch\",\r\n\t\t\t\"stopOnEntry\": true,\r\n            \"args\":[\r\n                \"compilePath=${workspaceRoot}\",\r\n                \"compileCommand=haxelib run openfl build Project.xml windows -64 -lib -hxcpp-debugger -debug -cpp -DHXCPP_DEBUGGER -Dfdb -Dtelemetry\",\r\n                \"runPath=${workspaceRoot}/export/windows/cpp/bin/\",\r\n                \"runCommand=RTS.exe\",\r\n                \"runInTerminal=false\"\r\n            ]\r\n\t\t}\r\n\t]\r\n}\r\n\r\nam I missing something simple?"},"comment":{"url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/comments/206678626","html_url":"https://github.com/jcward/vscode-hxcpp-debug/issues/28#issuecomment-206678626","issue_url":"https://api.github.com/repos/jcward/vscode-hxcpp-debug/issues/28","id":206678626,"user":{"login":"jcward","id":2192439,"avatar_url":"https://avatars.githubusercontent.com/u/2192439?v=3","gravatar_id":"","url":"https://api.github.com/users/jcward","html_url":"https://github.com/jcward","followers_url":"https://api.github.com/users/jcward/followers","following_url":"https://api.github.com/users/jcward/following{/other_user}","gists_url":"https://api.github.com/users/jcward/gists{/gist_id}","starred_url":"https://api.github.com/users/jcward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcward/subscriptions","organizations_url":"https://api.github.com/users/jcward/orgs","repos_url":"https://api.github.com/users/jcward/repos","events_url":"https://api.github.com/users/jcward/events{/privacy}","received_events_url":"https://api.github.com/users/jcward/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T03:19:28Z","updated_at":"2016-04-07T03:19:28Z","body":"Ah, so it is getting connected. Shoot, then I think we're at the typical Mac / Windows problem (the recursive Files enum is causing crashes), which is being worked on (maybe even close to fixed) now: https://github.com/jcward/vscode-hxcpp-debug/issues/25#issuecomment-202901729"}}