| 
									
										
										
										
											2024-04-24 10:25:44 +08:00
										 |  |  | { | 
					
						
							|  |  |  |     // 使用 IntelliSense 了解相关属性。 
 | 
					
						
							|  |  |  |     // 悬停以查看现有属性的描述。
 | 
					
						
							|  |  |  |     // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
 | 
					
						
							|  |  |  |     "version": "0.2.0", | 
					
						
							|  |  |  |     "configurations": [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             "name": "(gdb) 启动", | 
					
						
							|  |  |  |             "type": "cppdbg", | 
					
						
							|  |  |  |             "request": "launch", | 
					
						
							|  |  |  |             "program": "/home/neople/game/df_game_r", | 
					
						
							| 
									
										
										
										
											2024-07-19 13:36:35 +08:00
										 |  |  |             "args": ["siroco20","start"], | 
					
						
							| 
									
										
										
										
											2024-04-24 10:25:44 +08:00
										 |  |  |             "stopAtEntry": false, | 
					
						
							|  |  |  |             "stopOnException": false, | 
					
						
							|  |  |  |             "cwd": "/home/neople/game/", | 
					
						
							|  |  |  |             "environment": [{ | 
					
						
							|  |  |  |                 "name": "LD_PRELOAD", | 
					
						
							| 
									
										
										
										
											2024-04-30 03:01:48 +08:00
										 |  |  |                 "value": "/dp_s/lib/libAurora.so" | 
					
						
							| 
									
										
										
										
											2024-04-24 10:25:44 +08:00
										 |  |  |                 }], | 
					
						
							|  |  |  |             "externalConsole": false, | 
					
						
							|  |  |  |             "MIMode": "gdb", | 
					
						
							|  |  |  |             "setupCommands": [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                     "description": "为 gdb 启用整齐打印", | 
					
						
							|  |  |  |                     "text": "-enable-pretty-printing", | 
					
						
							|  |  |  |                     "ignoreFailures": true | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                     "description": "将反汇编风格设置为 Intel", | 
					
						
							|  |  |  |                     "text": "-gdb-set disassembly-flavor intel", | 
					
						
							|  |  |  |                     "ignoreFailures": true | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |             ] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             "name": "(gdb) 附加", | 
					
						
							|  |  |  |             "type": "cppdbg", | 
					
						
							|  |  |  |             "request": "attach", | 
					
						
							|  |  |  |             "program": "/home/neople/game/df_game_r", | 
					
						
							|  |  |  |             "MIMode": "gdb", | 
					
						
							|  |  |  |             // "setupCommands": [
 | 
					
						
							|  |  |  |             //     {
 | 
					
						
							|  |  |  |             //         "description": "为 gdb 启用整齐打印",
 | 
					
						
							|  |  |  |             //         "text": "-enable-pretty-printing",
 | 
					
						
							|  |  |  |             //         "ignoreFailures": true
 | 
					
						
							|  |  |  |             //     },
 | 
					
						
							|  |  |  |             //     {
 | 
					
						
							|  |  |  |             //         "description": "将反汇编风格设置为 Intel",
 | 
					
						
							|  |  |  |             //         "text": "-gdb-set disassembly-flavor intel",
 | 
					
						
							|  |  |  |             //         "ignoreFailures": true
 | 
					
						
							|  |  |  |             //     }
 | 
					
						
							|  |  |  |             // ]
 | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ] | 
					
						
							|  |  |  | } |