try catch で e.stackを表示させるといい : line noも出る
eだけではなくe.stackをalertさせるべき。
- Error: Failed to execute 'appendChild' on 'Node': The new child element is null.
at XMLHttpRequest.
という情報が出る。
try{ //処理 }catch(e){ alert(e.stack) }
at XMLHttpRequest.
という情報が出る。
try{ //処理 }catch(e){ alert(e.stack) }