Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 372996 - Debugger pollutes global namespace
Summary: Debugger pollutes global namespace
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: 0.8 RC1   Edit
Assignee: Simon Bernard CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 11:37 EST by Julien Desgats CLA
Modified: 2012-05-23 11:34 EDT (History)
1 user (show)

See Also:
sbernard: review+


Attachments
Set global variables as local (1.41 KB, patch)
2012-03-01 11:37 EST, Julien Desgats CLA
contact: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Desgats CLA 2012-03-01 11:37:02 EST
Created attachment 211896 [details]
Set global variables as local

Some globals are defined by mistake in the debugger. Under normal circumstances this just pollute global table. However, it may cause errors if `strict` module has been loaded (or anything that put a __newindex metamethod on _G).
Comment 1 Benjamin Cabé CLA 2012-03-01 11:43:18 EST
Simon, can you please review and integrate this?

Julien, thanks for the patch!
Comment 2 Simon Bernard CLA 2012-04-17 06:38:31 EDT
fixed in c29ff30bf740cfc318158bbe2ae3ebe825c44807