Sysprogs forums › Forums › VisualGDB › Disable setting breakpoint at main
Tagged: breakpoint
This topic contains 3 replies, has 2 voices, and was last updated by support 4 years, 1 month ago.
-
AuthorPosts
-
October 19, 2019 at 11:35 #26235
Hi
I am unable to disable breakpoint at main. This makes debugging certain projects impossible. I have had a lot of trouble with my standalone projects since upgrading to 5.4R6 some time ago.
This is the debug section of vgdbsettings:
C++123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137<span> <Debug xsi:type="com.visualgdb.debug.embedded"><AdditionalStartupCommands /><AdditionalGDBSettings><Features><DisableAutoDetection>false</DisableAutoDetection><UseFrameParameter>false</UseFrameParameter><SimpleValuesFlagSupported>false</SimpleValuesFlagSupported><ListLocalsSupported>false</ListLocalsSupported><ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable><ThreadInfoSupported>false</ThreadInfoSupported><PendingBreakpointsSupported>false</PendingBreakpointsSupported><SupportTargetCommand>false</SupportTargetCommand><ReliableBreakpointNotifications>false</ReliableBreakpointNotifications></Features><EnableSmartStepping>false</EnableSmartStepping><FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications><ForceSingleThreadedMode>false</ForceSingleThreadedMode><UseAppleExtensions>false</UseAppleExtensions><CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning><MakeLogFile>false</MakeLogFile><IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping><UseRelativePathsOnly>false</UseRelativePathsOnly><ExitAction>None</ExitAction><DisableDisassembly>false</DisableDisassembly><ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand><StepIntoNewInstanceEntry /><ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat><DisableSignals>false</DisableSignals><EnableAsyncExecutionMode>false</EnableAsyncExecutionMode><EnableNonStopMode>false</EnableNonStopMode><MaxBreakpointLimit>0</MaxBreakpointLimit></AdditionalGDBSettings><DebugMethod><ID>com.sysprogs.arm.openocd</ID><InterfaceID>stlink-v2</InterfaceID><InterfaceSerialNumber>6&2A0B5975&0&1</InterfaceSerialNumber><Configuration xsi:type="com.visualgdb.edp.openocd.settings"><CommandLine>-f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset init"</CommandLine><ExtraParameters><Frequency xsi:nil="true" /><BoostedFrequency xsi:nil="true" /><ConnectUnderReset>true</ConnectUnderReset></ExtraParameters><LoadProgressGUIThreshold>131072</LoadProgressGUIThreshold><ProgramMode>Auto</ProgramMode><StartupCommands><string>set remotetimeout 60</string><string>target remote :$$SYS:GDB_PORT$$</string><string>load</string></StartupCommands><ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool><PreferredGDBPort>0</PreferredGDBPort><PreferredTelnetPort>0</PreferredTelnetPort></Configuration></DebugMethod><AutoDetectRTOS>true</AutoDetectRTOS><SemihostingSupport>Auto</SemihostingSupport><SemihostingPollingDelay>0</SemihostingPollingDelay><StepIntoEntryPoint>false</StepIntoEntryPoint><ReloadFirmwareOnReset>false</ReloadFirmwareOnReset><ValidateEndOfStackAddress>true</ValidateEndOfStackAddress><StopAtEntryPoint>false</StopAtEntryPoint><EnableVirtualHalts>false</EnableVirtualHalts><DynamicAnalysisSettings /><EndOfStackSymbol>_estack</EndOfStackSymbol><TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond><KeepConsoleAfterExit>false</KeepConsoleAfterExit><CheckInterfaceDrivers>true</CheckInterfaceDrivers></Debug></span><span> <Debug xsi:type="com.visualgdb.debug.embedded"><AdditionalStartupCommands /><AdditionalGDBSettings><Features><DisableAutoDetection>false</DisableAutoDetection><UseFrameParameter>false</UseFrameParameter><SimpleValuesFlagSupported>false</SimpleValuesFlagSupported><ListLocalsSupported>false</ListLocalsSupported><ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable><ThreadInfoSupported>false</ThreadInfoSupported><PendingBreakpointsSupported>false</PendingBreakpointsSupported><SupportTargetCommand>false</SupportTargetCommand><ReliableBreakpointNotifications>false</ReliableBreakpointNotifications></Features><EnableSmartStepping>false</EnableSmartStepping><FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications><ForceSingleThreadedMode>false</ForceSingleThreadedMode><UseAppleExtensions>false</UseAppleExtensions><CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning><MakeLogFile>false</MakeLogFile><IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping><UseRelativePathsOnly>false</UseRelativePathsOnly><ExitAction>None</ExitAction><DisableDisassembly>false</DisableDisassembly><ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand><StepIntoNewInstanceEntry /><ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat><DisableSignals>false</DisableSignals><EnableAsyncExecutionMode>false</EnableAsyncExecutionMode><EnableNonStopMode>false</EnableNonStopMode><MaxBreakpointLimit>0</MaxBreakpointLimit></AdditionalGDBSettings><DebugMethod><ID>com.sysprogs.arm.openocd</ID><InterfaceID>stlink-v2</InterfaceID><InterfaceSerialNumber>6&2A0B5975&0&1</InterfaceSerialNumber><Configuration xsi:type="com.visualgdb.edp.openocd.settings"><CommandLine>-f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset init"</CommandLine><ExtraParameters><Frequency xsi:nil="true" /><BoostedFrequency xsi:nil="true" /><ConnectUnderReset>true</ConnectUnderReset></ExtraParameters><LoadProgressGUIThreshold>131072</LoadProgressGUIThreshold><ProgramMode>Auto</ProgramMode><StartupCommands><string>set remotetimeout 60</string><string>target remote :$$SYS:GDB_PORT$$</string><string>load</string></StartupCommands><ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool><PreferredGDBPort>0</PreferredGDBPort><PreferredTelnetPort>0</PreferredTelnetPort></Configuration></DebugMethod><AutoDetectRTOS>true</AutoDetectRTOS><SemihostingSupport>Auto</SemihostingSupport><SemihostingPollingDelay>0</SemihostingPollingDelay><StepIntoEntryPoint>false</StepIntoEntryPoint><ReloadFirmwareOnReset>false</ReloadFirmwareOnReset><ValidateEndOfStackAddress>true</ValidateEndOfStackAddress><StopAtEntryPoint>false</StopAtEntryPoint><EnableVirtualHalts>false</EnableVirtualHalts><DynamicAnalysisSettings /><EndOfStackSymbol>_estack</EndOfStackSymbol><TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond><KeepConsoleAfterExit>false</KeepConsoleAfterExit><CheckInterfaceDrivers>true</CheckInterfaceDrivers></Debug></span>I would greatly appreciate help in disabling this breakpoint!
-
This topic was modified 4 years, 1 month ago by
support. Reason: formatting
October 19, 2019 at 15:37 #26240Sorry, it looks like your support period has expired. Please consider renewing it here and we will help you get everything to work.
October 19, 2019 at 22:25 #26244It was only after I renewed my subscription last year and updated VGDB that almost all my projects stopped working.
Well I’m pleased to say I managed to get this working myself eventually, just as well since it appears I’m on my own. If it helps anybody I think what fixed it was pressing “Rebuild MSBuild & Intellisense files for this toolchain” on the MSBuild settings tab.
October 19, 2019 at 22:30 #26245Sorry, most likely you have changed some settings or installed a new version of a toolchain/BSP that was not compatible with the existing projects.
Although we do our best to keep VisualGDB releases backward-compatible, it is not possible for us to guarantee the same behavior for every external toolchain, SDK or library that could be possibly used with VisualGDB, sorry.
-
This topic was modified 4 years, 1 month ago by
-
AuthorPosts
You must be logged in to reply to this topic.