{"action":"created","issue":{"url":"https://api.github.com/repos/s-a/iron-node/issues/46","labels_url":"https://api.github.com/repos/s-a/iron-node/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/s-a/iron-node/issues/46/comments","events_url":"https://api.github.com/repos/s-a/iron-node/issues/46/events","html_url":"https://github.com/s-a/iron-node/issues/46","id":101529539,"number":46,"title":"File list duplication","user":{"login":"jsen-","id":1452008,"avatar_url":"https://avatars.githubusercontent.com/u/1452008?v=3","gravatar_id":"","url":"https://api.github.com/users/jsen-","html_url":"https://github.com/jsen-","followers_url":"https://api.github.com/users/jsen-/followers","following_url":"https://api.github.com/users/jsen-/following{/other_user}","gists_url":"https://api.github.com/users/jsen-/gists{/gist_id}","starred_url":"https://api.github.com/users/jsen-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsen-/subscriptions","organizations_url":"https://api.github.com/users/jsen-/orgs","repos_url":"https://api.github.com/users/jsen-/repos","events_url":"https://api.github.com/users/jsen-/events{/privacy}","received_events_url":"https://api.github.com/users/jsen-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/s-a/iron-node/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-17T23:20:02Z","updated_at":"2015-08-18T19:04:35Z","closed_at":"2015-08-18T17:06:52Z","body":"Every time I refresh (Ctrl-r), the files in the file list get duplicated.\r\nNew copy of debuggee is probably created in memory, because breakpoints don't work and a new - identical tab with source is opened.\r\n\r\n![ironnode1 5](https://cloud.githubusercontent.com/assets/1452008/9318672/2fbc1762-4546-11e5-9229-d2d004d908fc.png)\r\n\r\n\r\nConsole output: \r\n```\r\nD:\\projects\\sach>iron-node index.js\r\n[4364:0818/011107:INFO:renderer_main.cc(200)] Renderer process started\r\n[3736:0818/011108:INFO:renderer_main.cc(200)] Renderer process started\r\n[1908:0818/011108:INFO:CONSOLE(141)] \"os\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (141)\r\n[1908:0818/011108:INFO:CONSOLE(142)] \"versions\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (142)\r\n[1908:0818/011108:INFO:CONSOLE(143)] \"appData\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (143)\r\n[1908:0818/011108:INFO:CONSOLE(147)] \"configuration\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (147)\r\n[1908:0818/011108:INFO:CONSOLE(61)] \"scanning\", source: d:\\bezinst\\node\\node_modules\\iron-node\\node_modules\\package.js\\lib\\index.js (61)\r\n[1908:0818/011109:INFO:CONSOLE(99)] \"Error in\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (99)\r\n[1908:0818/011109:INFO:CONSOLE(5)] \"\", source: D:\\projects\\sach\\index.js (5)\r\n[3484:0818/011115:INFO:renderer_main.cc(200)] Renderer process started\r\n[1908:0818/011115:INFO:CONSOLE(141)] \"os\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (141)\r\n[1908:0818/011115:INFO:CONSOLE(142)] \"versions\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (142)\r\n[1908:0818/011115:INFO:CONSOLE(143)] \"appData\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (143)\r\n[1908:0818/011115:INFO:CONSOLE(147)] \"configuration\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (147)\r\n[1908:0818/011115:INFO:CONSOLE(61)] \"scanning\", source: d:\\bezinst\\node\\node_modules\\iron-node\\node_modules\\package.js\\lib\\index.js (61)\r\n[1908:0818/011116:ERROR:CONSOLE(178)] \"undefined\", source: chrome-devtools://devtools/inspector.js (178)\r\n[1908:0818/011116:INFO:CONSOLE(99)] \"Error in\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (99)\r\n[1908:0818/011116:INFO:CONSOLE(5)] \"\", source: D:\\projects\\sach\\index.js (5)\r\n[2400:0818/011119:INFO:renderer_main.cc(200)] Renderer process started\r\n[1908:0818/011119:INFO:CONSOLE(141)] \"os\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (141)\r\n[1908:0818/011119:INFO:CONSOLE(142)] \"versions\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (142)\r\n[1908:0818/011119:INFO:CONSOLE(143)] \"appData\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (143)\r\n[1908:0818/011119:INFO:CONSOLE(147)] \"configuration\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (147)\r\n[1908:0818/011119:INFO:CONSOLE(61)] \"scanning\", source: d:\\bezinst\\node\\node_modules\\iron-node\\node_modules\\package.js\\lib\\index.js (61)\r\n[1908:0818/011119:ERROR:CONSOLE(178)] \"undefined\", source: chrome-devtools://devtools/inspector.js (178)\r\n[1908:0818/011119:INFO:CONSOLE(99)] \"Error in\", source: file:///D:/bezinst/node/node_modules/iron-node/app/app.js (99)\r\n[1908:0818/011119:INFO:CONSOLE(5)] \"\", source: D:\\projects\\sach\\index.js (5)\r\n```\r\n```\r\nD:\\projects\\sach>node -e \"console.log(process.versions)\"\r\n{ http_parser: '2.3',\r\n  node: '0.12.4',\r\n  v8: '3.28.71.19',\r\n  uv: '1.5.0',\r\n  zlib: '1.2.8',\r\n  modules: '14',\r\n  openssl: '1.0.1m' }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/s-a/iron-node/issues/comments/132320087","html_url":"https://github.com/s-a/iron-node/issues/46#issuecomment-132320087","issue_url":"https://api.github.com/repos/s-a/iron-node/issues/46","id":132320087,"user":{"login":"jsen-","id":1452008,"avatar_url":"https://avatars.githubusercontent.com/u/1452008?v=3","gravatar_id":"","url":"https://api.github.com/users/jsen-","html_url":"https://github.com/jsen-","followers_url":"https://api.github.com/users/jsen-/followers","following_url":"https://api.github.com/users/jsen-/following{/other_user}","gists_url":"https://api.github.com/users/jsen-/gists{/gist_id}","starred_url":"https://api.github.com/users/jsen-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsen-/subscriptions","organizations_url":"https://api.github.com/users/jsen-/orgs","repos_url":"https://api.github.com/users/jsen-/repos","events_url":"https://api.github.com/users/jsen-/events{/privacy}","received_events_url":"https://api.github.com/users/jsen-/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T19:04:35Z","updated_at":"2015-08-18T19:04:35Z","body":"You're right. I did not realize that the files were in the mapped folder and also their wrapped versions under ```(no domain)``` zippy.\r\nWorking with the wrapped files is flawless.\r\n\r\nI've now actually disabled the mapping completely so I would not get fooled again :) as I'm not planing to use the editing features of DevTools.\r\nThe mappings don't work, anyway... I'm getting \"the mapped file is different from source file\" error after hitting a breakpoint. That's logical since nodejs wraps contents of every file in a function.\r\nThere are always compromises.\r\n\r\nGreat work Stephan, thanks for super quick actions."}}