Created
December 28, 2014 04:04
-
-
Save tenntenn/cf83c8e83673c88d6ec7 to your computer and use it in GitHub Desktop.
sourcemap使ってLuaのデバッガのフロントエンドを作る
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<script> | |
line = {} | |
</script> | |
<script src="sample.js"></script> | |
<script> | |
line[2]() | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains hidden or 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
line[1] = function(vars){var a = 100} | |
line[2] = function(vars){var a = 100} | |
line[3] = function(vars){var a = 100} | |
line[4] = function(vars){var a = 100} | |
line[5] = function(vars){var a = 100} | |
line[6] = function(vars){var a = 100} | |
//# sourceMappingURL=sample.map |
This file contains hidden or 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
function hoge() | |
local msg = "hello" | |
print(msg) | |
end | |
hoge() |
This file contains hidden or 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
{ | |
"version" : 3, | |
"file": "sample.js", | |
"sourceRoot": "", | |
"sources": ["sample.lua"], | |
"sourcesContent": [null], | |
"names": ["vars"], | |
"mappings": "AAAA;AABA;AACA;AADA;;AAEA" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment