Font Size: a A A

Research And Implementation Of Cloud Integrated Development Environment Based On Docker

Posted on:2018-04-14Degree:MasterType:Thesis
Country:ChinaCandidate:G Q LiuFull Text:PDF
GTID:2348330512983256Subject:Information security
Abstract/Summary:PDF Full Text Request
At present,most Web-based integrated development environment for C Language does not support debugging functions,which simply show program outputs to the users.When program errors occur,it is impossible to use debugging tools to solve them.And we could not find a web-based integrated development environment which integrates memory leak detection.So we can not help users develop good habit of coding.And,we want to have a platform which can collect the user's editing,compiling,debugging,and running data at all stages,so that we can improve teaching methods by analyzing these data,finding common problems for students,and helping students solve these problems.At the same time,this platform can also provide a strong support for the current MOOC teaching.It can also provide a platform for the practice of coding.And if we have this platform,we can also write some scripts on this platform to help students to learn and enchance their programming and debugging.In order to solve some key problems in the test of student's program,we proposed an error-proof link basd mechanism.In order to provide an independent programming environment for users,we implemented our system with Docker.With Docker we can also guarantee our system security.To improve system scalability and reliability,we implemented our system on Docker cluster.So we studied how to use the distributed locks,Mesos and Marathon to manage the Docker cluster.How to use Marathon to create Docker container applications for students dynamically.And how to delete Docker containers automatically when students do not use the system for a long time to avoid wasting computer hardware resources.Then,we studied file management and their implementation in an integrated development environment.Then we studied how to implement a cloud-integrated development environment with basic debugging functions and file management functions based on Web,Docker and GDB/MI.We also studied how to integrate the Valgrind tool in the system for detecting and reporting memory errors such as memory leaks in user's code.Finally,the Docker cluster environment configuration and the key automated testing in each module are described in detail.And the functions of the integrated development environment are demonstrated through an actual programming case.This thesis finally implemented a distributed,cloud-based integrated development environment based on the web,which provided a more powerful and convenient online platform for normal programming practice and MOOC teaching.It also provided a data collection platform for the future analysis of students' common programming errors.
Keywords/Search Tags:Cloud IDE, C Language online debugging, Docker application
PDF Full Text Request
Related items