tag:blogger.com,1999:blog-977684764667858073.post2228375482876397549..comments2024-02-09T21:43:15.143+00:00Comments on /bɑs ˈtjɛ̃ no ˈse ʁɑ/ (hadess) | News: gdb trickBastien Nocerahttp://www.blogger.com/profile/14621847888418739807noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-977684764667858073.post-71648338812897192482009-06-21T11:29:34.466+01:002009-06-21T11:29:34.466+01:00For some cases, it is also handy to use:
set sche...For some cases, it is also handy to use:<br /><br />set scheduler-locking on<br /><br />This will prevent any other threads from being run, and you can explicitly choose which thread to run (with "thread [threadnumber]").<br /><br />It lets you make your race condition a bit more deterministic.Andyhttp://www.ultra-premium.com/bnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-28595279608866665972009-06-18T19:24:56.847+01:002009-06-18T19:24:56.847+01:00Try out http://sourceware.org/gdb/wiki/PythonGdb ....Try out http://sourceware.org/gdb/wiki/PythonGdb .<br />You write some nice python scripts :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-36245695002480251212009-06-18T19:03:19.661+01:002009-06-18T19:03:19.661+01:00I know thread apply all bt very well, the trick he...I know <i>thread apply all bt</i> very well, the trick here is the fact that you can get the backtrace for a breakpoint without stopping the software.Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-78700823448669002222009-06-18T18:31:55.078+01:002009-06-18T18:31:55.078+01:00Clearly you never had to debug evolution. thread a...Clearly you never had to debug evolution. thread apply all bt is burned into my brain, still, getting on 8 years later...Luis Villahttps://www.blogger.com/profile/04996195927394788149noreply@blogger.com