OSDN Git Service

[VM][DEBUGGER][WIN32] Getting buffer 16M entries causes "std::bad_alloc" at Win32... i386-rollback-test
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 24 May 2019 22:42:36 +0000 (07:42 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 24 May 2019 22:42:36 +0000 (07:42 +0900)
source/src/vm/debugger.h

index 6aa842d..5b660dc 100644 (file)
@@ -19,7 +19,8 @@
 #define MAX_BREAK_POINTS       16
 #define MAX_COMMAND_LENGTH     1024
 #define MAX_COMMAND_HISTORY    32
-#define MAX_CPU_TRACE          0x01000000 /* 16Msteps */
+//#define MAX_CPU_TRACE                0x01000000 /* 16Msteps */
+#define MAX_CPU_TRACE          0x00100000 /* 1Msteps */
 
 
 typedef struct {